diff --git a/bleach-2.0.0.tar.gz b/bleach-2.0.0.tar.gz deleted file mode 100644 index 014a71f..0000000 --- a/bleach-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9522130003e4caedf4f00a39c120a906dcd4242329c1c8f621f5370203cbc30 -size 46083 diff --git a/bleach-2.1.1.tar.gz b/bleach-2.1.1.tar.gz new file mode 100644 index 0000000..7f9c05d --- /dev/null +++ b/bleach-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:760a9368002180fb8a0f4ea48dc6275378e6f311c39d0236d7b904fca1f5ea0d +size 58491 diff --git a/python-bleach.changes b/python-bleach.changes index dbac1eb..adeff0b 100644 --- a/python-bleach.changes +++ b/python-bleach.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Sat Nov 11 17:17:50 UTC 2017 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 2.1.1: + * Bug fixes + + Fix setup.py opening files when LANG=. (#324) + +- changes from version 2.1: + * Security fixes + + Convert control characters (backspace particularly) to “?” + preventing malicious copy-and-paste situations. (#298) + See https://github.com/mozilla/bleach/issues/298 for more details. + This affects all previous versions of Bleach. Check the comments + on that issue for ways to alleviate the issue if you can’t + upgrade to Bleach 2.1. + * Backwards incompatible changes + + Redid versioning. bleach.VERSION is no longer available. Use the + string version at bleach.__version__ and parse it with + pkg_resources.parse_version. (#307) + + clean, linkify: linkify and clean should only accept text types; + thank you, Janusz! (#292) + + clean, linkify: accept only unicode or utf-8-encoded str (#176) + * Bug fixes + + bleach.clean() no longer unescapes entities including ones that + are missing a ; at the end which can happen in urls and other + places. (#143) + + linkify: fix http links inside of mailto links; thank you, + sedrubal! (#300) + + clarify security policy in docs (#303) + + fix dependency specification for html5lib 1.0b8, 1.0b9, and + 1.0b10; thank you, Zoltán! (#268) + + add Bleach vs. html5lib comparison to README; thank you, Stu + Cox! (#278) + + fix KeyError exceptions on tags without href attr; thank you, + Alex Defsen! (#273) + + add test website and scripts to test bleach.clean() output in + browser; thank you, Greg Guthe! + ------------------------------------------------------------------- Wed Apr 12 15:15:17 UTC 2017 - toddrme2178@gmail.com diff --git a/python-bleach.spec b/python-bleach.spec index 2e022af..12db61c 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -19,21 +19,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bleach -Version: 2.0.0 +Version: 2.1.1 Release: 0 Summary: An easy whitelist-based HTML-sanitizing tool License: Apache-2.0 Group: Development/Languages/Python Url: http://github.com/jsocol/bleach Source: https://files.pythonhosted.org/packages/source/b/bleach/bleach-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module html5lib >= 0.99999999} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module webencodings} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-html5lib >= 0.99999999 Requires: python-six Requires: python-webencodings