python-bleach_1.4.2-1_all.deb


Advertisement

Description

python-bleach - whitelist-based HTML-sanitizing library (Python 2)

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-bleach
Package version: 1.4.2
Package release: 1
Package architecture: all
Package type: deb
Installed size: 87 B
Download size: 18.33 KB
Official Mirror: archive.ubuntu.com
Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. Bleach can also linkify text safely, applying filters that Django's urlize filter cannot, and optionally setting rel attributes, even on links already in the text. Bleach is intended for sanitizing text from untrusted sources. If you find yourself jumping through hoops to allow your site administrators to do lots of things, you're probably outside the use cases. Either trust those users, or don't. Because it relies on html5lib, Bleach is as good as modern browsers at dealing with weird, quirky HTML fragments. And any of Bleach's methods will fix unbalanced or mis-nested tags. This is the Python 2 version of the package.

Alternatives

    Download

    Source package: python-bleach

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-bleach deb package:
      # sudo apt-get install python-bleach

    Files

    • /usr/lib/python2.7/dist-packages/bleach/__init__.py
    • /usr/lib/python2.7/dist-packages/bleach/callbacks.py
    • /usr/lib/python2.7/dist-packages/bleach/encoding.py
    • /usr/lib/python2.7/dist-packages/bleach/sanitizer.py
    • /usr/lib/python2.7/dist-packages/bleach-1.4.2.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/bleach-1.4.2.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/bleach-1.4.2.egg-info/not-zip-safe
    • /usr/lib/python2.7/dist-packages/bleach-1.4.2.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/bleach-1.4.2.egg-info/top_level.txt
    • /usr/lib/python2.7/dist-packages/bleach/tests/__init__.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/test_basics.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/test_css.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/test_links.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/test_security.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/test_unicode.py
    • /usr/lib/python2.7/dist-packages/bleach/tests/tools.py
    • /usr/share/doc/python-bleach/CONTRIBUTORS
    • /usr/share/doc/python-bleach/README.rst
    • /usr/share/doc/python-bleach/changelog.Debian.gz
    • /usr/share/doc/python-bleach/copyright

    Changelog

    2016-02-22 - Per Andersson <avtobiff@debian.org> python-bleach (1.4.2-1) unstable; urgency=low [ Per Andersson ] * Bump debhelper compat level to 9 (level 8 is required in Build-Depends). * Add extend-diff-ignore for egg.info in debian/source/options. * d/watch: Use github.com, githubredir is deprecated. * Use my @debian.org address. * Use HTTPS protocol for Homepage and Vcs-* fields. [ Christopher Baines ] * New upstream release. - Includes fix upstream fix for #798441 (Closes: #798441). * Up standards version to 3.9.6, no changes required.

    2014-02-14 - Per Andersson <avtobiff@gmail.com> python-bleach (1.4-1) unstable; urgency=low * New upstream release - License changed to Apache License 2.0 - Add python*-six to Build-Dependends * Shipping both python2 and python3 packages - Add python3-html5lib to Build-Dependends * Running tests during build - Add python*-nose Build-Dependends * Packaging license changed to Apache License 2.0 * Bumped Standards-Version to 3.9.5, no changes needed * Add common doc package - Binary packages suggests this package - Add python*-sphinx to Build-Depends

    2013-06-09 - Per Andersson <avtobiff@gmail.com> python-bleach (1.2.2-1) unstable; urgency=low * Initial release (Closes: #686902)

    Advertisement
    Advertisement