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.

Author frogcoder
Recipients frogcoder
Date 2015-09-26.16:46:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443285999.33.0.0508878437802.issue25239@psf.upfronthosting.co.za>
In-reply-to
Content
In the document of HTMLParser.handle_starttag, it states "All entity references from html.entities are replaced in the attribute values." However it will replace the string if it matches ampersand followed by the entity name without the semicolon.

For example <a href="go?t=buy&currency=usd">foo</a> will produce "t=buy¤cy=usd" as the value of href attribute due to "curren" is the entity name for the currency sign.
History
Date User Action Args
2015-09-26 16:46:39frogcodersetrecipients: + frogcoder
2015-09-26 16:46:39frogcodersetmessageid: <1443285999.33.0.0508878437802.issue25239@psf.upfronthosting.co.za>
2015-09-26 16:46:39frogcoderlinkissue25239 messages
2015-09-26 16:46:39frogcodercreate