Đọc Bleach

  -  
*
*
*

vanphongphamsg.vn is an allowed-list-based HTML sanitizing library that escapes or stripsmarkup and attributes.

Bạn đang xem: đọc bleach

vanphongphamsg.vn can also linkify text safely, applying filters that Django’s urlizefilter cannot, & optionally setting rel attributes, even on link alreadyin the text.

vanphongphamsg.vn is intended for sanitizing text from untrusted sources. If you findyourself jumping through hoops lớn allow your site administrators to vày lots ofthings, you’re probably outside the use cases. Either trust those users, ordon’t.

Because it relies on html5lib, vanphongphamsg.vn is as good as modern browsers at dealingwith weird, quirky HTML fragments. & any of vanphongphamsg.vn’s methods will fixunbalanced or mis-nested tags.

The version on GitHub is the most up-to-date and contains the latest bugfixes. You can find full documentation on vanphongphamsg.vn.

Code

https://github.com/mozilla/vanphongphamsg.vn

Documentation

https://vanphongphamsg.vn/

Issue tracker

https://github.com/mozilla/vanphongphamsg.vn/issues

License

Apache License v2; see LICENSE file

Reporting Bugs¶

For regular bugs, please report them in our issue tracker.

If you believe that you’ve found a security vulnerability, please file a securebug report in our bug trackeror send an e-mail to security AT mozilla DOT org.

Xem thêm: Hãy Kể Về Một Lần Em Trót Xem Nhật Kí Của Bạn Có Sử Dụng Yếu Tố Nghị Luận Và Miêu Tả Nội Tâm

For more information on security-related bug disclosure and the PGP key to usefor sending encrypted mail or lớn verify responses received from that address,please read our wiki page athttps://www.mozilla.org/en-US/security/#For_Developers.

Security¶

vanphongphamsg.vn is a security-focused library.

We have a responsible security vulnerability reporting process. Please usethat if you’re reporting a security issue.

Security issues are fixed in private. After we land such a fix, we’ll vì chưng arelease.

For every release, we mark security issues we’ve fixed in the CHANGES inthe Security issues section. We include any relevant CVE links.

Installing vanphongphamsg.vn¶

vanphongphamsg.vn is available on PyPI, so you can install it with pip:


$ pip install vanphongphamsg.vn

Upgrading vanphongphamsg.vn¶


Warning

Before doing any upgrades, read through vanphongphamsg.vn Changes for backwardsincompatible changes, newer versions, etc.

Xem thêm: Khí Hậu Ôn Đới Khí Hậu Ôn Đới Là Gì? Đặc Điểm Của Khí Hậu Ôn Đới?

vanphongphamsg.vn follows semver 2 versioning. Vendored libraries will notbe changed in patch releases.


Basic use¶

The simplest way to use vanphongphamsg.vn is:


Code of Conduct¶

This project và repository is governed by Mozilla’s code of conduct andetiquette guidelines. For more details please see the CODE_OF_CONDUCT.md

Contents¶


Sanitizing text fragmentsLinkifying text fragmentsGoals of vanphongphamsg.vnvanphongphamsg.vn developmentvanphongphamsg.vn changesMigrating from the html5lib sanitizer

Indices & tables¶