[Yum] Basic auth fails in 1.97, works in previous versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Seth and all,

I'm not sure if this is a bug of the Python urllib, or a new 'feature' 
of yum 1.97, but authentication information in the URL is no longer 
accepted by yum.  For example:

http://wiggum:ralph@xxxxxxxxxx/path/to/

Complains about 'ralph' not being a valid HTTP port.  Specifically:

Error getting file 
http://wiggum:ralph@xxxxxxxxxxxxxxxxxxxx/path/to/headers/header.info
[Errno 7] HTTP Error (InvalidURL): nonnumeric port: 
'ralph@xxxxxxxxxxxxxxxxxxxx'

This is on a Red Hat 9 system, freshly installed, with python-2.2.2-26.

Any thoughts?  (I'm going to dig in and see if I can spot this in yum 
itself, but I'm not so well-versed in python as to be confident I'll 
find it.  So pointers are welcome.)

Thanks!
-- 
Joe Cooper <joe@xxxxxxxxxxxxx>
Web caching appliances and support.
http://www.swelltech.com



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux