[Python-bugs-list] [ python-Bugs-730221 ] sgmllib: Add "@" to valid attribute characters
SourceForge.net
noreply@sourceforge.net
Wed, 30 Apr 2003 08:59:25 -0700
Bugs item #730221, was opened at 2003-04-30 11:00
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=730221&group_id=5470
Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sgmllib: Add "@" to valid attribute characters
Initial Comment:
According to http://www.w3.org/Addressing/rfc1808.txt,
the query portion of an URL (and, therefore, and
attribute) can contain any of the "safe", "extra", or
"reserved" characters.
436621 added in some, but not all. Current CVS adds in
",", but is still missing "@". Google groups provides
examples URLS that use the @, as the end of the query
is the article-ID, including the @.
Suggested patch just adds that "@" to the attrfind.
36c36
< r'(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9./,:;+*%?!&$\(\)
_#=~\'"]*))?')
---
> r'(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9./,@:;+*%?!&$\(\)
_#=~\'"]*))?')
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2003-04-30 11:59
Message:
Logged In: YES
user_id=3066
Already fixed in CVS:
Lib/sgmllib.py 1.45
Lib/test/test_sgmllib.py 1.6
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=730221&group_id=5470