diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/bleach/files | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/bleach/files')
| -rw-r--r-- | dev-python/bleach/files/bleach-3.1.5-py39.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/bleach/files/bleach-3.1.5-py39.patch b/dev-python/bleach/files/bleach-3.1.5-py39.patch new file mode 100644 index 000000000000..ce1296236b6d --- /dev/null +++ b/dev-python/bleach/files/bleach-3.1.5-py39.patch @@ -0,0 +1,36 @@ +diff --git a/tests/test_clean.py b/tests/test_clean.py +index 133cd82..4dcb9f4 100644 +--- a/tests/test_clean.py ++++ b/tests/test_clean.py +@@ -597,31 +597,16 @@ def test_attributes_list(): + {'protocols': ['http']}, + '<a href="example.com">valid</a>' + ), +- ( +- '<a href="example.com:8000">valid</a>', +- {'protocols': ['http']}, +- '<a href="example.com:8000">valid</a>' +- ), + ( + '<a href="localhost">valid</a>', + {'protocols': ['http']}, + '<a href="localhost">valid</a>' + ), +- ( +- '<a href="localhost:8000">valid</a>', +- {'protocols': ['http']}, +- '<a href="localhost:8000">valid</a>' +- ), + ( + '<a href="192.168.100.100">valid</a>', + {'protocols': ['http']}, + '<a href="192.168.100.100">valid</a>' + ), +- ( +- '<a href="192.168.100.100:8000">valid</a>', +- {'protocols': ['http']}, +- '<a href="192.168.100.100:8000">valid</a>' +- ), + + # Disallow implicit http if disallowed + ( |
