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.

classification
Title: sgmllib incorrectly handles entities in attributes
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: facundobatista, mbergal
Priority: normal Keywords:

Created on 2003-07-29 05:43 by mbergal, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (3)
msg17423 - (view) Author: Misha Bergal (mbergal) Date: 2003-07-29 05:43
The following test inserted in test_sgmllib.py fails
    def test_entities_in_attrs(self):
        """Be sure quotes entities are treated right 
attributes"""
        self.check_events("<a href=\"&amp;\">", [
            ("starttag", "a", [("href", '&')]),
            ])

msg17424 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2004-12-26 21:57
Logged In: YES 
user_id=752496

Please, could you verify if this problem persists in Python 2.3.4
or 2.4?

If yes, in which version? Can you provide a test case?

If the problem is solved, from which version?

Note that if you fail to answer in one month, I'll close this bug
as "Won't fix".

Thank you! 

.    Facundo
msg17425 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2005-03-22 21:05
Logged In: YES 
user_id=752496

Deprecated. Reopen only if still happens in 2.3 or newer. 

.    Facundo
History
Date User Action Args
2022-04-10 16:10:19adminsetgithub: 38959
2003-07-29 05:43:39mbergalcreate