Issue 1745761: Bad attributes/data handling in SGMLib (original ) (raw ) Issue1745761
Created on 2007-06-30 16:38 by wolfete , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
bug_sgml.py
wolfete,2007-06-30 16:38
example
Messages (5)
msg32431 - (view)
Author: Alvaro Lopez (wolfete)
Date: 2007-06-30 16:38
When feeding an parser with a tag in which its arguments contain a < (as in example the SGMLParsers doesn't handle the data/arguments correcly. For example, with the above string I get: Fed: example Tag opened: a Arg href -> http://www.example.org/ ">; Arg escaped 'http://www.example.org/ ">;' Data: ;'>example Tag closed: a I have attached a small example. I'm using python2.5.1 Cheers, Ãlvaro.
msg85628 - (view)
Author: Daniel Diniz (ajaksu2) *
Date: 2009-04-06 10:00
Confirmed in trunk.
msg116699 - (view)
Author: Mark Lawrence (BreamoreBoy) *
Date: 2010-09-17 18:15
Can we close this as sgmllib only supported htmllib which has been superseded by HTMLParser?
msg147613 - (view)
Author: Roundup Robot (python-dev)
Date: 2011-11-14 16:57
New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761 , #755670 , #13357 , #12629 , #1200313 : improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio Melotti in branch '3.2': #1745761 , #755670 , #13357 , #12629 , #1200313 : improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/16ed15ff0d7c New changeset 426f7a2b1826 by Ezio Melotti in branch 'default': #1745761 , #755670 , #13357 , #12629 , #1200313 : merge with 3.2. http://hg.python.org/cpython/rev/426f7a2b1826
msg147618 - (view)
Author: Ezio Melotti (ezio.melotti) *
Date: 2011-11-14 17:01
Fixed, thanks for the report!
History
Date
User
Action
Args
2022-04-11 14:56:25
admin
set
github: 45143
2011-11-14 17:01:54
ezio.melotti
set
status: open -> closedversions: + Python 3.2, Python 3.3messages: + resolution: fixedstage: needs patch -> resolved
2011-11-14 16:57:15
python-dev
set
nosy: + python-dev messages: +
2011-11-14 12:46:11
ezio.melotti
set
assignee: ezio.melotti
2011-11-01 15:55:19
ezio.melotti
set
nosy: + ezio.melotti
2010-12-09 05:46:47
eric.araujo
set
nosy: + eric.araujo , r.david.murray , - BreamoreBoy
2010-09-17 18:15:21
BreamoreBoy
set
nosy: + BreamoreBoy messages: + versions: + Python 2.7, - Python 2.6
2009-04-22 05:07:43
ajaksu2
set
keywords: + easy
2009-04-06 10:00:43
ajaksu2
set
versions: + Python 2.6, - Python 2.5nosy: + ajaksu2 messages: + type: behaviorstage: needs patch
2007-06-30 16:38:49
wolfete
create