Skip to content

HTMLParser.py - more robust SCRIPT tag parsing #37799

@fantoozler

Description

@fantoozler
BPO 670664
Nosy @birkenfeld, @yotam.medini, @orsenthil, @pitrou, @ezio-melotti, @merwok, @bitdancer
Files
  • patch-02.txt
  • patch-test-cdata.txt: test suite update
  • minify.py
  • lt-in-script-example.tgz: Example of HTMLParser failure
  • HTMLParser.diff: Patch with suggested fix
  • endtag-space.html: Example of HTMLParser failure
  • dollar-extra.html: Example of HTMLParser failure
  • ltscr-endtag-dollarext.diff: Patch with suggested fix
  • cdata_patch.diff
  • cdata_patch.diff
  • hp_fix.diff: Patch containing updated version of Alexander's patch and tests
  • issue670664.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ezio-melotti'
    closed_at = <Date 2011-11-01.12:18:10.762>
    created_at = <Date 2003-01-19.14:07:07.000>
    labels = ['type-bug', 'library']
    title = 'HTMLParser.py - more robust SCRIPT tag parsing'
    updated_at = <Date 2011-11-01.12:18:10.761>
    user = 'https://bugs.python.org/fantoozler'

    bugs.python.org fields:

    activity = <Date 2011-11-01.12:18:10.761>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2011-11-01.12:18:10.762>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2003-01-19.14:07:07.000>
    creator = 'fantoozler'
    dependencies = []
    files = ['4937', '10952', '12183', '19072', '19073', '20231', '20232', '20233', '21045', '21046', '22767', '23553']
    hgrepos = []
    issue_num = 670664
    keywords = ['patch', 'needs review']
    message_count = 39.0
    messages = ['42474', '42475', '42476', '42477', '42478', '70083', '76723', '83254', '88864', '117762', '117763', '120265', '125096', '125154', '130319', '130326', '130702', '141204', '141210', '141232', '141237', '141242', '141248', '141260', '141266', '141273', '141291', '141297', '141345', '141372', '141428', '141531', '141532', '141533', '146632', '146709', '146717', '146770', '146771']
    nosy_count = 14.0
    nosy_names = ['georg.brandl', 'yotam', 'orsenthil', 'pitrou', 'fantoozler', 'gsf', 'ezio.melotti', 'eric.araujo', 'r.david.murray', 'momat', 'Hunanyan', 'friday', 'python-dev', 'Matt.Basta']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue670664'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions