This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IP6 address parsing i sgmllib
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, jimjjewett
Priority: normal Keywords:

Created on 2003-12-03 19:15 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg19253 - (view) Author: Jim Jewett (jimjjewett) Date: 2003-12-03 19:15
The sgmllib.attrfind regex excludes [ and ].

http://www.ietf.org/rfc/rfc2732.txt uses these in the 
host portion to indicate that an address is IP6 rather 
than IP4.  

http://[1080::8:800:200C:417A]/foo

RFC 2732 is referenced as normative by the xml:base 
module.  I grouped the issue as 2.3, on the assumption 
that it isn't a bug until IP6 is used.
msg19254 - (view) Author: Jim Jewett (jimjjewett) Date: 2004-02-20 23:46
Logged In: YES 
user_id=764593

Assigned to 2.3 when that was development.  Moved to 2.4 
now, still on the assumption that the bug won't hit with real 
data until IP6 is more common.
msg19255 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2006-06-23 06:13
Logged In: YES 
user_id=3066

Fixed on the trunk (2.5b2) in revision 47080; on the
release24-maint branch (2.4.4) in revision 47081.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39653
2003-12-03 19:15:29jimjjewettcreate