[Python-bugs-list] [ python-Bugs-730221 ] sgmllib: Add "@" to valid attribute characters

SourceForge.net noreply@sourceforge.net
Wed, 30 Apr 2003 08:00:08 -0700


Bugs item #730221, was opened at 2003-04-30 11:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
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./,@:;+*%?!&$\(\)
_#=~\'"]*))?')


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=730221&group_id=5470