Bugs item #1745761, was opened at 2007-06-30 16:38
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=1745761&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alvaro Lopez (wolfete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad attributes/data handling in SGMLib

Initial Comment:
When feeding an parser with a tag in which its arguments contain a < (as in <a 
href='http://www.example.org/";<;'>example</a> the SGMLParsers doesn't handle 
the data/arguments correcly. For example, with the above string I get:

Fed: <a href='http://www.example.org/";>;'>example</a>
Tag opened: a
Arg  href  ->  http://www.example.org/";>;
Arg escaped 'http://www.example.org/"&gt;;'
Data: ;'>example
Tag closed: a

I have attached a small example.

I'm using python2.5.1

Cheers,

Álvaro.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1745761&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to