Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #21061 PEAR/REST.php adds "ssl://" to $proxy_host if URL schema is https
Submitted: 2016-05-10 15:25 UTC
From: steffenhau Assigned: ashnazg
Status: Closed Package: PEAR (version 1.10.1)
PHP Version: Irrelevant OS: OpenSUSE 42.1
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 + 50 = ?

 
 [2016-05-10 15:25 UTC] steffenhau (Steffen Hau)
Description: ------------ I can no longer use (search,install,etc.) Horde Pear Repository (pear.horde.org) since they switched to https. I get the error: Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in PEAR/REST.php on line 423 Warning: fsockopen(): Failed to enable crypto in PEAR/REST.php on line 423 Warning: fsockopen(): unable to connect to ssl://www-cache.uni-mannheim.de:3128 (Unknown error) in PEAR/REST.php on line 423 Connection to `ssl://www-cache.uni-mannheim.de:3128' failed: I took a look into REST.php and found out, that "ssl://" is prepended to $proxy_host if the URL schema is https. My squid proxy does not understand ssl on its default Port 3128. https is working by using the connect method. Commenting out the check on Line 364 solves the issue.

Comments

 [2017-02-27 18:28 UTC] ashnazg (Chuck Burgess)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: ashnazg
 [2017-02-28 16:52 UTC] ashnazg (Chuck Burgess)
Fixed in v1.10.2
 [2017-02-28 16:52 UTC] ashnazg (Chuck Burgess)
-Status: Assigned +Status: Closed