[Patches] [ python-Patches-596581 ] urllib.splituser(): '@' in usrname
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 18 Aug 2002 13:11:57 -0700
Patches item #596581, was opened at 2002-08-17 16:55
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=596581&group_id=5470
Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jonathan Simms (slyphon)
Assigned to: Raymond Hettinger (rhettinger)
Summary: urllib.splituser(): '@' in usrname
Initial Comment:
This was in response to "[ 581529 ] bug in
splituser(host) in urllib". This was a one-line
change. The issue was that if a username contained
the '@' symbol, the urllib.splituser(host) method
wouldn't return the correct information.
if you were to try
urllib.splituser(Jones@CrunchyFrog.net@Whizzo.com),
you'd get ['Jones', 'CrunchyFrog.net@Whizzo.com']
after applying this patch, you get
['Jones@CrunchyFrog.net', 'Whizzo.com']
So, there you are... :-)
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-08-18 15:11
Message:
Logged In: YES
user_id=80475
Applied as urllib.py 1.150 and 1.135.6.4
Closing patch and related bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=596581&group_id=5470