head 1.17; access; symbols pkgsrc-2026Q3:1.15.0.2 pkgsrc-2026Q3-base:1.15 pkgsrc-2026Q2:1.14.0.2 pkgsrc-2026Q2-base:1.14 pkgsrc-2026Q1:1.13.0.2 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.12.0.2 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.10.0.2 pkgsrc-2025Q3-base:1.10 pkgsrc-2025Q2:1.9.0.2 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.8.0.4 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.2 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.4.0.2 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.1.0.2 pkgsrc-2024Q2-base:1.1; locks; strict; comment @# @; 1.17 date 2026.10.26.15.43.33; author adam; state Exp; branches; next 1.16; commitid lLyhjz06WUHXa01H; 1.16 date 2026.10.16.19.44.17; author adam; state Exp; branches; next 1.15; commitid z8jatkdHAjoiPJZG; 1.15 date 2026.06.28.15.41.40; author wiz; state Exp; branches; next 1.14; commitid hjtQh9zHnnKc1ALG; 1.14 date 2026.05.22.12.50.00; author adam; state Exp; branches; next 1.13; commitid 17OgIlgbcmXigOGG; 1.13 date 2026.03.01.08.29.31; author adam; state Exp; branches; next 1.12; commitid qcp3GESKXh1nsfwG; 1.12 date 2025.10.09.07.58.00; author wiz; state Exp; branches; next 1.11; commitid t4nMY0Dt3rBjSRdG; 1.11 date 2025.10.03.05.45.35; author adam; state Exp; branches; next 1.10; commitid jJj7GVhVlx35l5dG; 1.10 date 2025.07.05.11.44.16; author wiz; state Exp; branches; next 1.9; commitid B2KLCDAZOmgedy1G; 1.9 date 2025.04.12.19.17.27; author adam; state Exp; branches; next 1.8; commitid d8vTo3tvtXWmqNQF; 1.8 date 2024.11.17.12.28.01; author adam; state Exp; branches; next 1.7; commitid 11cOemVfBMsSQZxF; 1.7 date 2024.11.16.10.19.49; author adam; state Exp; branches; next 1.6; commitid j8MA6B0HWFwSaRxF; 1.6 date 2024.11.11.07.29.05; author wiz; state Exp; branches; next 1.5; commitid 1fBDq3LwS98NncxF; 1.5 date 2024.10.14.05.13.13; author adam; state Exp; branches; next 1.4; commitid AHWPnYvHYmnrxAtF; 1.4 date 2024.09.07.05.39.07; author adam; state Exp; branches; next 1.3; commitid x3Qgy5PjqNz5SPoF; 1.3 date 2024.08.29.12.25.11; author adam; state Exp; branches; next 1.2; commitid aAusMVagZclkpInF; 1.2 date 2024.07.30.03.52.59; author adam; state Exp; branches; next 1.1; commitid khsWHsxtGRlpxOjF; 1.1 date 2024.05.27.14.39.28; author adam; state Exp; branches; next ; commitid em9qHZ5f8gXIaEbF; desc @@ 1.17 log @py-lxml-html-clean: updated to 0.4.6 0.4.6 (2026-10-26) Bugs fixed * Fixed a ReDoS (regular expression denial of service) vulnerability in the CSS ``expression()`` sanitizer. The pattern ``expression\s*\(.*?\)`` with ``re.S`` was quadratic when input contained many ``expression(`` tokens without a closing parenthesis. The body is now bounded to 1024 characters; longer bodies are handled fail-closed by ``_has_sneaky_javascript()``, which drops the entire style. Reported by Brian Willows. * Fixed a ReDoS vulnerability in the conditional comment detector used when ``comments=False``. The pattern ``\[if\s+.*?]\s*>`` with ``re.S`` was quadratic when comment text contained many ``[if`` tokens without a closing ``]>``. Replaced with a linear two-pass search. Reported by Brian Willows. * Fixed a ReDoS vulnerability in the CSS comment stripper. The pattern ``/\*.*?\*/`` with ``re.S`` was quadratic when style content contained many ``/*`` tokens without a closing ``*/``. Replaced with a linear ``str.find()``-based scan. Reachable under default configuration via ``