pax_global_header 0000666 0000000 0000000 00000000064 15203322322 0014504 g ustar 00root root 0000000 0000000 52 comment=322357ac61c6cf80fcbaba53b4e92e31f3ded9f2
lxml_html_clean-0.4.5/ 0000775 0000000 0000000 00000000000 15203322322 0014654 5 ustar 00root root 0000000 0000000 lxml_html_clean-0.4.5/.github/ 0000775 0000000 0000000 00000000000 15203322322 0016214 5 ustar 00root root 0000000 0000000 lxml_html_clean-0.4.5/.github/workflows/ 0000775 0000000 0000000 00000000000 15203322322 0020251 5 ustar 00root root 0000000 0000000 lxml_html_clean-0.4.5/.github/workflows/main.yml 0000664 0000000 0000000 00000001100 15203322322 0021710 0 ustar 00root root 0000000 0000000 on:
push:
branches:
- main
pull_request:
branches:
- main
name: Run Tox tests
jobs:
tox_test:
name: Tox test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run Tox tests
id: test
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
strategy:
matrix:
tox_env:
- py39
- py310
- py311
- py312
- py313
- py314
- mypy
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest
lxml_html_clean-0.4.5/.gitignore 0000664 0000000 0000000 00000000120 15203322322 0016635 0 ustar 00root root 0000000 0000000 __pycache__
*.pyc
*.pyo
.tox
dist/
docs/_build
build/
lxml_html_clean.egg-info/
lxml_html_clean-0.4.5/.readthedocs.yaml 0000664 0000000 0000000 00000000466 15203322322 0020111 0 ustar 00root root 0000000 0000000 # .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
sphinx:
configuration: docs/conf.py
python:
install:
- requirements: docs/requirements.txt
lxml_html_clean-0.4.5/CHANGES.rst 0000664 0000000 0000000 00000012611 15203322322 0016457 0 ustar 00root root 0000000 0000000 =========================
lxml_html_clean changelog
=========================
0.4.5 (2026-05-20)
==================
Bugs fixed
----------
* Fixed a security vulnerability where ``javascript:`` URLs in ``xlink:href``
attributes were not sanitized when``safe_attrs_only=False``, allowing
cross-site scripting (XSS) attacks. The fix requires ``lxml>=6.1.1``,
which adds ``xlink:href`` to the set of link attributes iterated by
``rewrite_links()``. Reported by Guillem Lefait (@glefait).
0.4.4 (2026-02-26)
==================
Bugs fixed
----------
* Fixed a bug where Unicode escapes in CSS were not properly decoded
before security checks. This prevents attackers from bypassing filters
using escape sequences. (CVE-2026-28348)
* Fixed a security issue where ``