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.
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 <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/">;' 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) * (Python triager) | 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) (Python triager) | 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) * (Python committer) | 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 -> closed versions: + Python 3.2, Python 3.3 messages: + msg147618 resolution: fixed stage: needs patch -> resolved |
| 2011年11月14日 16:57:15 | python-dev | set | nosy:
+ python-dev messages: + msg147613 |
| 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: + msg116699 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.5 nosy: + ajaksu2 messages: + msg85628 type: behavior stage: needs patch |
| 2007年06月30日 16:38:49 | wolfete | create | |