classification
Title: HTMLParser fix to accept mailformed tag attributes
Type: feature request Stage: test needed
Components: Library (Lib) Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ajaksu2, jlgijsbers, nnseva (3)
Priority: normal Keywords easy, patch

Created on 2004-10-13 10:11 by nnseva, last changed 2009-04-22 18:49 by ajaksu2.

Files
File name Uploaded Description Edit Remove
HTMLParser.py.patch nnseva, 2004-10-15 06:27 This is a patch
Messages (5)
msg22675 - (view) Author: Vsevolod Novikov (nnseva) Date: 2004-10-13 10:11
This is a patch to fix bugs #975556 and #921657.

I think, it should be made just because the parser
should accept as many pages as it can. At the other
hand, the code near to fixed contains regexp to accept
mailformed attributes in other cases: compare attrfind
variable and locatestarttagend variable values.
msg22676 - (view) Author: Johannes Gijsbers (jlgijsbers) Date: 2004-10-13 11:09
Logged In: YES 
user_id=469548

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg22677 - (view) Author: Vsevolod Novikov (nnseva) Date: 2004-10-15 06:27
Logged In: YES 
user_id=325678

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg22678 - (view) Author: Vsevolod Novikov (nnseva) Date: 2004-10-15 06:27
Logged In: YES 
user_id=325678

Missed patch, sorry ...
msg81692 - (view) Author: Daniel Diniz (ajaksu2) Date: 2009-02-11 23:57
Heh, the patch applies cleanly to trunk more than four years later and
tests pass fine. We'll surely need better tests if the behavior change
is considered an improvement.
History
Date User Action Args
2009-04-22 18:49:57ajaksu2setkeywords: + patch, easy
stage: test needed
2009-02-11 23:57:49ajaksu2setnosy: + ajaksu2
messages: + msg81692
2009-02-09 06:13:35ajaksu2settype: feature request
versions: + Python 2.7, - Python 2.3
2004-10-13 10:11:24nnsevacreate