Main > Programming > Libraries >

HTML Purifier 2.1.1

HTML Purifier 2.1.1

Sponsored Links

HTML Purifier 2.1.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.16 MB
Platform: Any Platform
License: LGPL (GNU Lesser General Public License)
Price:
Downloads: 817
Date added: 2007-08-07
Publisher: Edward Z. Yang

HTML Purifier 2.1.1 description

HTML Purifier project is the premiere PHP solution for all your HTML filtering needs. Tired of forcing users to use BBCode or some other obscure custom markup language due to the current landscape of deficient or hole-ridden HTML filterers? Look no further: HTMLPurifier will not only remove all malicious code (the stuff of XSS), it will also make sure the HTML is standards compliant.
There are a number of ad hoc HTML filtering solutions out there on the web (some examples including PEARs HTML_Safe, kses and SafeHtmlChecker.class.php) that claim to filter HTML properly, preventing malicious JavaScript and layout breaking HTML from getting through the parser. None of them, however, demonstrates a thorough knowledge of the DTD that defines HTML or the caveats of HTML that cannot be expressed by a DTD.
Configurable filters (such as kses or PHPs built-in striptags() function) have trouble validating the contents of attributes and can be subject to security attacks due to poor configuration. Other filters take the naive approach of blacklisting known threats and tags, failing to account for the introduction of new technologies, new tags, new attributes or quirky browser behavior.
However, HTML Purifier takes a different approach, one that doesnt use specification-ignorant regexes or narrow blacklists. HTML Purifier will decompose the whole document into tokens, and rigorously process the tokens by: removing non-whitelisted elements, transforming bad practice tags like font into span, properly checking the nesting of tags and their children and validating all attributes according to their RFCs.
To my knowledge, there is nothing like this on the web yet. Not even MediaWiki, which allows an amazingly diverse mix of HTML and wikitext in its documents, gets all the nesting quirks right. Existing solutions hope that no JavaScript will slip through, but either do not attempt to ensure that the resulting output is valid XHTML or send the HTML through a draconic XML parser (and yet still get the nesting wrong: SafeHtmlChecker.class.php does not prevent a tags from being nested within each other).
Enhancements:
- This version amends a few bugs in some of newly introduced features for 2.1, namely running the standalone download version in PHP4 and %URI.MakeAbsolute.

HTML Purifier 2.1.1 Screenshot

Advertisements

HTML Purifier 2.1.1 Keywords

Bookmark HTML Purifier 2.1.1

Hyperlink code:
Link for forum:

HTML Purifier 2.1.1 Copyright

WareSeeker periodically updates pricing and software information of HTML Purifier 2.1.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML Purifier 2.1.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Version History
Related Software
Jerich HTML Parser is a simple but powerful java library allowing analysis and manipulation of parts of an HTML document. Free Download
HTML::Puzzle is a framework to build web component based on database. Free Download
HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables. Free Download
HTML::Detoxifier is a practical module to strip harmful HTML. Free Download
OPEN BEXI HTML Builder is a WYSIWYG HTML editor. Free Download
HTML::Truncate is a Perl module that can truncate HTML by percentage or character count while preserving well-formedness. Free Download
HTML::Embperl is a Perl module for building dynamic Websites with Perl. Free Download
NekoHTML is a simple HTML scanner and tag balancer that enables application programmers to parse HTML documents. Free Download