|
| 1 | +.. date: 2025-10-07-19-31-34 |
| 2 | +.. gh-issue: 139700 |
| 3 | +.. nonce: vNHU1O |
| 4 | +.. release date: 2025-10-09 |
| 5 | +.. section: Security |
| 6 | +
|
| 7 | +Check consistency of the zip64 end of central directory record. Support |
| 8 | +records with "zip64 extensible data" if there are no bytes prepended to the |
| 9 | +ZIP file. |
| 10 | + |
| 11 | +.. |
| 12 | +
|
| 13 | +.. date: 2025-09-29-00-01-28 |
| 14 | +.. gh-issue: 139400 |
| 15 | +.. nonce: X2T-jO |
| 16 | +.. section: Security |
| 17 | +
|
| 18 | +:mod:`xml.parsers.expat`: Make sure that parent Expat parsers are only |
| 19 | +garbage-collected once they are no longer referenced by subparsers created |
| 20 | +by :meth:`~xml.parsers.expat.xmlparser.ExternalEntityParserCreate`. Patch by |
| 21 | +Sebastian Pipping. |
| 22 | + |
| 23 | +.. |
| 24 | +
|
| 25 | +.. date: 2025-06-25-14-13-39 |
| 26 | +.. gh-issue: 135661 |
| 27 | +.. nonce: idjQ0B |
| 28 | +.. section: Security |
| 29 | +
|
| 30 | +Fix parsing start and end tags in :class:`html.parser.HTMLParser` according |
| 31 | +to the HTML5 standard. |
| 32 | + |
| 33 | +* Whitespaces no longer accepted between ``</`` and the tag name. |
| 34 | + E.g. ``</ script>`` does not end the script section. |
| 35 | + |
| 36 | +* Vertical tabulation (``\v``) and non-ASCII whitespaces no longer recognized |
| 37 | + as whitespaces. The only whitespaces are ``\t\n\r\f`` and space. |
| 38 | + |
| 39 | +* Null character (U+0000) no longer ends the tag name. |
| 40 | + |
| 41 | +* Attributes and slashes after the tag name in end tags are now ignored, |
| 42 | + instead of terminating after the first ``>`` in quoted attribute value. |
| 43 | + E.g. ``</script/foo=">"/>``. |
| 44 | + |
| 45 | +* Multiple slashes and whitespaces between the last attribute and closing ``>`` |
| 46 | + are now ignored in both start and end tags. E.g. ``<a foo=bar/ //>``. |
| 47 | + |
| 48 | +* Multiple ``=`` between attribute name and value are no longer collapsed. |
| 49 | + E.g. ``<a foo==bar>`` produces attribute "foo" with value "=bar". |
| 50 | + |
| 51 | +.. |
| 52 | +
|
| 53 | +.. date: 2025-06-18-13-34-55 |
| 54 | +.. gh-issue: 135661 |
| 55 | +.. nonce: NZlpWf |
| 56 | +.. section: Security |
| 57 | +
|
| 58 | +Fix CDATA section parsing in :class:`html.parser.HTMLParser` according to |
| 59 | +the HTML5 standard: ``] ]>`` and ``]] >`` no longer end the CDATA section. |
| 60 | +Add private method ``_set_support_cdata()`` which can be used to specify how |
| 61 | +to parse ``<[CDATA[`` --- as a CDATA section in foreign content (SVG or |
| 62 | +MathML) or as a bogus comment in the HTML namespace. |
| 63 | + |
| 64 | +.. |
| 65 | +
|
| 66 | +.. date: 2025-06-18-13-28-08 |
| 67 | +.. gh-issue: 102555 |
| 68 | +.. nonce: nADrzJ |
| 69 | +.. section: Security |
| 70 | +
|
| 71 | +Fix comment parsing in :class:`html.parser.HTMLParser` according to the |
| 72 | +HTML5 standard. ``--!>`` now ends the comment. ``-- >`` no longer ends the |
| 73 | +comment. Support abnormally ended empty comments ``<-->`` and ``<--->``. |
| 74 | + |
| 75 | +.. |
| 76 | +
|
| 77 | +.. date: 2025-06-13-15-55-22 |
| 78 | +.. gh-issue: 135462 |
| 79 | +.. nonce: KBeJpc |
| 80 | +.. section: Security |
| 81 | +
|
| 82 | +Fix quadratic complexity in processing specially crafted input in |
| 83 | +:class:`html.parser.HTMLParser`. End-of-file errors are now handled |
| 84 | +according to the HTML5 specs -- comments and declarations are automatically |
| 85 | +closed, tags are ignored. |
| 86 | + |
| 87 | +.. |
| 88 | +
|
| 89 | +.. date: 2025-06-09-20-38-25 |
| 90 | +.. gh-issue: 118350 |
| 91 | +.. nonce: KgWCcP |
| 92 | +.. section: Security |
| 93 | +
|
| 94 | +Fix support of escapable raw text mode (elements "textarea" and "title") in |
| 95 | +:class:`html.parser.HTMLParser`. |
| 96 | + |
| 97 | +.. |
| 98 | +
|
| 99 | +.. date: 2023-02-13-21-41-34 |
| 100 | +.. gh-issue: 86155 |
| 101 | +.. nonce: ppIGSC |
| 102 | +.. section: Security |
| 103 | +
|
| 104 | +:meth:`html.parser.HTMLParser.close` no longer loses data when the |
| 105 | +``<script>`` tag is not closed. Patch by Waylan Limberg. |
| 106 | + |
| 107 | +.. |
| 108 | +
|
| 109 | +.. date: 2025-09-25-07-33-43 |
| 110 | +.. gh-issue: 139312 |
| 111 | +.. nonce: ygE8AC |
| 112 | +.. section: Library |
| 113 | +
|
| 114 | +Upgrade bundled libexpat to 2.7.3 |
| 115 | + |
| 116 | +.. |
| 117 | +
|
| 118 | +.. date: 2025-09-16-19-05-29 |
| 119 | +.. gh-issue: 138998 |
| 120 | +.. nonce: URl0Y_ |
| 121 | +.. section: Library |
| 122 | +
|
| 123 | +Update bundled libexpat to 2.7.2 |
| 124 | + |
| 125 | +.. |
| 126 | +
|
| 127 | +.. date: 2025-07-23-00-35-29 |
| 128 | +.. gh-issue: 130577 |
| 129 | +.. nonce: c7EITy |
| 130 | +.. section: Library |
| 131 | +
|
| 132 | +:mod:`tarfile` now validates archives to ensure member offsets are |
| 133 | +non-negative. (Contributed by Alexander Enrique Urieles Nieto in |
| 134 | +:gh:`130577`.) |
| 135 | + |
| 136 | +.. |
| 137 | +
|
| 138 | +.. date: 2025-06-11-17-38-16 |
| 139 | +.. gh-issue: 135374 |
| 140 | +.. nonce: eqRcTc |
| 141 | +.. section: Library |
| 142 | +
|
| 143 | +Update the bundled copy of setuptools to 79.0.1. |
0 commit comments