<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: XSS war: a Java HTML sanitizer</title>
	<atom:link href="http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/feed/" rel="self" type="application/rss+xml" />
	<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/</link>
	<description>think upstream</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:19:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: miroslavos</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-302</link>
		<dc:creator><![CDATA[miroslavos]]></dc:creator>
		<pubDate>Mon, 14 Jun 2010 06:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-302</guid>
		<description><![CDATA[Hi, really good job.
Nice, this work´s

Sanitizer+String.replaceAll(String RegularExpression, Strin newString) Rocks!!]]></description>
		<content:encoded><![CDATA[<p>Hi, really good job.<br />
Nice, this work´s</p>
<p>Sanitizer+String.replaceAll(String RegularExpression, Strin newString) Rocks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto Bicchierai</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-300</link>
		<dc:creator><![CDATA[Roberto Bicchierai]]></dc:creator>
		<pubDate>Thu, 10 Jun 2010 06:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-300</guid>
		<description><![CDATA[I didn’t get the question. The sanitizer published is a java piece of code, what is the “wmd.js” file you are talking? My sanitizer is not a javascript one (even if a porting should not a big deal).

How can I help you?

The only hint I can give you regarding a comment box on you site, is to use a simple text area or a markup editor (see this article http://www.codinghorror.com/blog/2008/05/is-html-a-humane-markup-language.html) and encoding all user inputs.

Cheers,

Roberto]]></description>
		<content:encoded><![CDATA[<p>I didn’t get the question. The sanitizer published is a java piece of code, what is the “wmd.js” file you are talking? My sanitizer is not a javascript one (even if a porting should not a big deal).</p>
<p>How can I help you?</p>
<p>The only hint I can give you regarding a comment box on you site, is to use a simple text area or a markup editor (see this article <a href="http://www.codinghorror.com/blog/2008/05/is-html-a-humane-markup-language.html" rel="nofollow">http://www.codinghorror.com/blog/2008/05/is-html-a-humane-markup-language.html</a>) and encoding all user inputs.</p>
<p>Cheers,</p>
<p>Roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-297</link>
		<dc:creator><![CDATA[rick]]></dc:creator>
		<pubDate>Tue, 08 Jun 2010 02:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-297</guid>
		<description><![CDATA[I pasted the html sanitizing script into my wmd.js file, saved it, and loaded the modified wmd.js file to the server, and refreshed, but all of the typing function on the wmd.js comment/markdown window were stripped, leaving the comment area without functionality. What did I do wrong?
Thanks in advance for any help you can provide to make my website more secure.
Can you also help me put a comment box like this one on my website for visitor feedback, since I like the validation of required entry of e-mail account info to prevent spammers? That would be greatly appreciated, along with some very basic instructions for implementing the comment box.
Rick]]></description>
		<content:encoded><![CDATA[<p>I pasted the html sanitizing script into my wmd.js file, saved it, and loaded the modified wmd.js file to the server, and refreshed, but all of the typing function on the wmd.js comment/markdown window were stripped, leaving the comment area without functionality. What did I do wrong?<br />
Thanks in advance for any help you can provide to make my website more secure.<br />
Can you also help me put a comment box like this one on my website for visitor feedback, since I like the validation of required entry of e-mail account info to prevent spammers? That would be greatly appreciated, along with some very basic instructions for implementing the comment box.<br />
Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HTML Sanitizer added to visural-common… « Pragmatic Coder</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-176</link>
		<dc:creator><![CDATA[HTML Sanitizer added to visural-common… « Pragmatic Coder]]></dc:creator>
		<pubDate>Mon, 22 Mar 2010 05:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-176</guid>
		<description><![CDATA[[...] I wanted something more light-weight though, and stumbled across this. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] I wanted something more light-weight though, and stumbled across this. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A html sanitizer for C# &#171; Eltit Golb</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-162</link>
		<dc:creator><![CDATA[A html sanitizer for C# &#171; Eltit Golb]]></dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-162</guid>
		<description><![CDATA[[...] JAVA, sanitizer, security, XSS by Roberto Bicchierai    After 3 moths gestation and some bug fixes, HtmlSanitizer is reporting no hacking [...]]]></description>
		<content:encoded><![CDATA[<p>[...] JAVA, sanitizer, security, XSS by Roberto Bicchierai    After 3 moths gestation and some bug fixes, HtmlSanitizer is reporting no hacking [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Mueller</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-53</link>
		<dc:creator><![CDATA[Rob Mueller]]></dc:creator>
		<pubDate>Mon, 11 Jan 2010 13:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-53</guid>
		<description><![CDATA[FYI we had to do something similar for a perl based project. We released the result here:

http://search.cpan.org/dist/HTML-Defang/lib/HTML/Defang.pm

HTML::Defang uses a custom html tag parser. The parser has been designed and tested to work with nasty real world html and to try and emulate as close as possible what browsers actually do with strange looking constructs. The test suite has been built based on examples from a range of sources such as http://ha.ckers.org/xss.html and http://imfo.ru/csstest/css_hacks/import.php to ensure that as many as possible XSS attack scenarios have been dealt with.

It&#039;s worth checking those links to see how well your parser works. There&#039;s some pretty nasty examples.

R0b]]></description>
		<content:encoded><![CDATA[<p>FYI we had to do something similar for a perl based project. We released the result here:</p>
<p><a href="http://search.cpan.org/dist/HTML-Defang/lib/HTML/Defang.pm" rel="nofollow">http://search.cpan.org/dist/HTML-Defang/lib/HTML/Defang.pm</a></p>
<p>HTML::Defang uses a custom html tag parser. The parser has been designed and tested to work with nasty real world html and to try and emulate as close as possible what browsers actually do with strange looking constructs. The test suite has been built based on examples from a range of sources such as <a href="http://ha.ckers.org/xss.html" rel="nofollow">http://ha.ckers.org/xss.html</a> and <a href="http://imfo.ru/csstest/css_hacks/import.php" rel="nofollow">http://imfo.ru/csstest/css_hacks/import.php</a> to ensure that as many as possible XSS attack scenarios have been dealt with.</p>
<p>It&#8217;s worth checking those links to see how well your parser works. There&#8217;s some pretty nasty examples.</p>
<p>R0b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto Bicchierai</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-52</link>
		<dc:creator><![CDATA[Roberto Bicchierai]]></dc:creator>
		<pubDate>Mon, 11 Jan 2010 10:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-52</guid>
		<description><![CDATA[Sorry for the delay in responding, but I was on holiday. 

About one month ago I discovered the problem in the source code and fixed it, but it was cached by the server.

The JSP class is an utility class used by our framework, so the real sanitizer is slightly different from the published  one where all JSP.xxx  methods are on the same class (HtmlSanitizer).

Now the source code should be fine, see: http://patapage.com/applications/pataPage/site/test/HtmlSanitizer.html 

Thanks you all for feedback,

Roberto]]></description>
		<content:encoded><![CDATA[<p>Sorry for the delay in responding, but I was on holiday. </p>
<p>About one month ago I discovered the problem in the source code and fixed it, but it was cached by the server.</p>
<p>The JSP class is an utility class used by our framework, so the real sanitizer is slightly different from the published  one where all JSP.xxx  methods are on the same class (HtmlSanitizer).</p>
<p>Now the source code should be fine, see: <a href="http://patapage.com/applications/pataPage/site/test/HtmlSanitizer.html" rel="nofollow">http://patapage.com/applications/pataPage/site/test/HtmlSanitizer.html</a> </p>
<p>Thanks you all for feedback,</p>
<p>Roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dboyco</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-51</link>
		<dc:creator><![CDATA[dboyco]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 22:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-51</guid>
		<description><![CDATA[where could we find the function for JSP.htmlEncodeApexesAndTags(token)]]></description>
		<content:encoded><![CDATA[<p>where could we find the function for JSP.htmlEncodeApexesAndTags(token)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ayreon</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-49</link>
		<dc:creator><![CDATA[ayreon]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 13:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-49</guid>
		<description><![CDATA[Hi Roberto,

Truth be told, your code is the only usable stuff around the net regarding this topic,
and it looks quite impressive,
however i couldn&#039;t find the class &quot;JSP&quot; (e.g. JSP.htmlEncodeApexesAndTags) you&#039;re referencing several times in the code you linked above,

Would you be so kind to post that class as well?

Many thanks,
Regards,
Janos]]></description>
		<content:encoded><![CDATA[<p>Hi Roberto,</p>
<p>Truth be told, your code is the only usable stuff around the net regarding this topic,<br />
and it looks quite impressive,<br />
however i couldn&#8217;t find the class &#8220;JSP&#8221; (e.g. JSP.htmlEncodeApexesAndTags) you&#8217;re referencing several times in the code you linked above,</p>
<p>Would you be so kind to post that class as well?</p>
<p>Many thanks,<br />
Regards,<br />
Janos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stewart</title>
		<link>http://roberto.open-lab.com/2009/11/05/a-java-html-sanitizer-also-against-xss/#comment-48</link>
		<dc:creator><![CDATA[Stewart]]></dc:creator>
		<pubDate>Wed, 06 Jan 2010 10:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.open-lab.com/?p=120#comment-48</guid>
		<description><![CDATA[Looking at the code, I don&#039;t think it&#039;s complete?
What class is JSP?
I&#039;ve never heard of JSP.htmlEncodeApexesAndTags.

Regards

Stewart]]></description>
		<content:encoded><![CDATA[<p>Looking at the code, I don&#8217;t think it&#8217;s complete?<br />
What class is JSP?<br />
I&#8217;ve never heard of JSP.htmlEncodeApexesAndTags.</p>
<p>Regards</p>
<p>Stewart</p>
]]></content:encoded>
	</item>
</channel>
</rss>

