History log of /external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
550c8d3230c152db7156b266d089512b72ac0024 07-May-2014 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> Fixed shift underflow bug in interElementWhitespace checking.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@231 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
a1b4378ade2caa7a029abba418a37ed7b94e7a7f 04-Sep-2013 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> warning cleanup : field hiding

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@203 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
ce5bde40e2e126de05105f09f1f965a5c70aaa94 22-Jul-2013 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> cosmetic fixes to source code : line wrapping and comments

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@198 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
783908cf042927b900d42383d30ec1fb8ee83d1f 16-May-2013 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> fixed tag balancer so that implicit end tags are not generated for scope-introducing elements like tables and list items when a close tag ought to be restricted to an element within that scope

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@173 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
4c1e3417997042b0b485cbf71344a0210dfaba04 24-Apr-2013 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> modify the HTML schema in TagBalancingHtmlStreamEventReceiver to make sure character data is allowed in option elemens

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@163 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
79b4c29af1261d95c663bdf0003b70cb0eb8000e 21-Nov-2012 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> added methods to the policy builder to specify which elements are allowed to contain text. By default text is allowed in any allowed element that can contain normal flow or block content, but disallowed in CDATA elements like <iframe>.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@132 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
63dba946a9a0b3af438ca08b6824e653e5ca58c5 06-Nov-2012 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> added restrictions to the TagBalancingHtmlStreamEventReceiver so non-whitespace text nodes can only appear where phrasing content, flow content, or regular character data are allowed. This means that an <li> is added around "two" in <ul><li>one</li>two</ul>. changed to tag balancer to also recognize that </h3> and friends close any open header.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@122 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
1ecbdce5dd203e7aca2b93650ca3afce17dbc095 23-Oct-2012 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> fix issue 7: misnested lists. Changes tag balancer to insert block container elements when a block or flow content element is seen in a context where block and flow elements are disallowed.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@121 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
3f54e49f2181c52ca40d99fbe738b2484ba91528 14-Oct-2011 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> Fix issue 3: "Deeply nested elements crash FF 8, Chrome 11" by not emitting any tokens from TagBalancingHtmlStreamEventReceiver when the open element stack exceeds a nestingLimit. This limit is 128 based on some data on table nesting levels seen in the wild by Opera but I am continuing to look for info about the distribution of actual nesting depth for documents in the wild.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@79 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
27b4be957534ebb90e21ac8d31bf722e4c9273bf 10-Mar-2011 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> Wrote a tag balancer that correctly handles containment relationships.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@20 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
8403881c365ab36b721ccc4500af1b3a5bd25870 09-Mar-2011 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> added license headers and a license.txt file

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@10 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
4e867904c8295537803c1c8a076e130df5674b58 09-Mar-2011 mikesamuel <mikesamuel@ad8eed46-c659-4a31-e19d-951d88f54425> Revamped to use a policy builder pattern instead of requiring people to write their own policies.

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@9 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java
5c702c12be71d8070da9287cc4a044617dd726a7 01-Mar-2011 manico.james@gmail.com <manico.james@gmail.com@ad8eed46-c659-4a31-e19d-951d88f54425> Mike Samuels donation to OWASP

git-svn-id: http://owasp-java-html-sanitizer.googlecode.com/svn/trunk@2 ad8eed46-c659-4a31-e19d-951d88f54425
/external/owasp/sanitizer/src/main/org/owasp/html/TagBalancingHtmlStreamEventReceiver.java