stable

python-bleach-2.1-1.fc27

FEDORA-2017-b6cbbc99aa created by ignatenkobrain 8 years ago for Fedora 27

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)

Features

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!

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2017-b6cbbc99aa

This update has been submitted for testing by ignatenkobrain.

8 years ago

This update has been pushed to testing.

8 years ago

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

8 years ago

This update has been submitted for stable by ignatenkobrain.

8 years ago

This update has been pushed to stable.

8 years ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
2
Stable by Time
disabled
Dates
submitted
8 years ago
in testing
8 years ago
in stable
8 years ago
BZ#1497003 python-bleach-2.1 is available
0
0

Automated Test Results