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

Bug #15439 Pear use through a proxy
Submitted: 2008-12-29 13:10 UTC
From: progi1984 Assigned:
Status: Bogus Package: PEAR (version 1.7.2)
PHP Version: 5.1.6 OS: CentOS
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-29 13:10 UTC] progi1984 (Franck Lefevre)
Description: ------------ When i have a username which contains an arobase, the pear command can't access to pear servers. Test script: --------------- # pear config-set http_proxy http://user@fai.fr.fto:password@ipproxy:portproxy config-set succeeded # pear list-all Connection to `fai.fr.fto:password@ipproxy:portproxy' failed:

Comments

 [2009-03-04 20:55 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Can't say I have seen a proxy address like that before, even firefox chokes on it - can you explain any further and provide me with documentation / RFC as to how this is suppose to work ?
 [2009-03-13 03:07 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Feedback
We are unable to reproduce the bug as reported. Please provide a simple script (10 lines or less) or a link to an external script that can be used to reproduce the bug. If you can provide the script, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PEAR.
 [2009-03-19 12:44 UTC] progi1984 (Franck Lefevre)
-Status: Feedback +Status: Open
login will be : user@fai.fr.fto It is a login which is a sample from Orange Business Services. the problem is the detection of the login at the first arobase. You should search the first ':'
 [2009-06-16 17:52 UTC] cweiske (Christian Weiske)
I can confirm this. One way to circumvent the problem temporatily is to escape the first @.
 [2009-06-29 04:43 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Verified
Christian says it's verified.
 [2014-02-27 14:54 UTC] avb (Alexey Borzov)
-Status: Verified +Status: Bogus
This proxy url is invalid according to RFC3986, see its section 3.2.1: http://tools.ietf.org/html/rfc3986#section-3.2.1 '@' symbol should be used for delimiting userinfo from the host, if it appears in userinfo itself, it should be percent-encoded: http://tools.ietf.org/html/rfc3986#section-2.1