View Issue Details

IDProjectCategoryView StatusLast Update
0004123CentOS-5yumpublic2010-01-06 21:09
Reporterclintd 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version5.4 
Target VersionFixed in Version 
Summary0004123: Yum using proxy that requires authentication and a Password that contains the two characters \/ fails
Descriptionnormally I can get yum to work with a proxy that requires authentication when required by doing something like

http_proxy=http://<my username>:<my password>@<proxy server>:<proxy server port>
export http_proxy

or by filling in the appropriate information in yum.conf.

But if the password contains the characters \/ this does not work.
I have tried quoting the password in various ways none seem to work

eg

export http_proxy=http://bob:\/alid@proxy.example.com:80
export http_proxy='http://bob:\/alid@proxy.example.com:80'
export http_proxy="http://bob:\/alid@proxy.example.com:80"
export http_proxy=http://bob:\\\/alid@proxy.example.com:80
TagsNo tags attached.

Activities

2010-01-06 02:49

 

YumProxy0004123.txt (389 bytes)
´╗┐Ways I have tried to quote a password that contains \/ for use with yum

export http_proxy=http://<user>:\/alid@proxy.example.com:80
export http_proxy='http://<user>:\/alid@proxy.example.com:80'
export http_proxy="http://<user>:\/alid@proxy.example.com:80"
export http_proxy=http://<user>:\\\/alid@proxy.example.com:80
export http_proxy="http://<user>:\\/alid@proxy.example.com:80"




YumProxy0004123.txt (389 bytes)
clintd

clintd

2010-01-06 02:51

reporter   ~0010679

See Attached File for the correctly formatted examples of what I have tried - YumProxy0004123.txt
GeppettoFedora

GeppettoFedora

2010-01-06 05:21

reporter   ~0010681

It'll probably work if you use URL escaping, eg:

%5c and %2f
range

range

2010-01-06 10:15

administrator   ~0010685

And if that doesn't work, it should be reported upstream at https://bugzilla.redhat.com/ - if there isn't a report for that already.
clintd

clintd

2010-01-06 21:02

reporter   ~0010692

URL Escaping does work. So this issue can be closed. Thank you for the assistance

Issue History

Date Modified Username Field Change
2010-01-06 01:15 clintd New Issue
2010-01-06 02:04 kbsingh@karan.org Status new => acknowledged
2010-01-06 02:49 clintd File Added: YumProxy0004123.txt
2010-01-06 02:51 clintd Note Added: 0010679
2010-01-06 05:21 GeppettoFedora Note Added: 0010681
2010-01-06 10:15 range Note Added: 0010685
2010-01-06 10:16 range Status acknowledged => feedback
2010-01-06 21:02 clintd Note Added: 0010692
2010-01-06 21:09 range Status feedback => closed
2010-01-06 21:09 range Resolution open => no change required