<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bunnyhero dev &#187; Hi5</title>
	<atom:link href="http://www.bunnyhero.org/category/hi5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bunnyhero.org</link>
	<description>Notes on iPhone, Flash and Web development</description>
	<lastBuildDate>Fri, 23 Jul 2010 18:00:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Hi5 HTML filtering stupidity</title>
		<link>http://www.bunnyhero.org/2007/02/27/hi5-html-filtering-stupidity/</link>
		<comments>http://www.bunnyhero.org/2007/02/27/hi5-html-filtering-stupidity/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 19:45:51 +0000</pubDate>
		<dc:creator>bunnyhero</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Hi5]]></category>

		<guid isPermaLink="false">http://www.bunnyhero.org/2007/02/27/hi5-html-filtering-stupidity/</guid>
		<description><![CDATA[Hi5, another social networking site, filters HTML code oddly. Embeds are allowed (I don&#8217;t think they used to be), but if there are any percent signs (%) in the embed&#8216;s attributes, it doesn&#8217;t display. Further testing reveals that hi5 seems to strip out any tag that has attributes that contain any URL-encoded entities in it at all! For example, this perfectly valid code for a link: &#60;a href="http://www.google.com/search?q=this%2Fthat"&#62;search this/that&#60;/a&#62; will not display properly in a hi5 profile. The &#60;a href="..."&#62; tag gets stripped out because of the %2F (an URL-encoded slash &#8220;/&#8221;). The downside for me is that pets that have spaces or accented characters in their name will not display on hi5. I&#8217;m guessing that this is their brain-dead way to prevent XSS (cross-site scripting) vulnerabilities as reported here. It looks like I&#8217;ll have to not encode the flashvars at all on hi5. Hope it works properly&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hi5.com/">Hi5</a>, another social networking site, filters HTML code oddly.</p>
<p><code>Embeds</code> are allowed (I don&#8217;t think they used to be), but if there are any percent signs (%) in the <code>embed</code>&#8216;s attributes, it doesn&#8217;t display. Further testing reveals that <strong>hi5 seems to strip out <em>any</em> tag that has attributes that contain <em>any</em> URL-encoded entities in it at all</strong>!</p>
<p>For example, this perfectly valid code for a link:</p>
<blockquote><p><code>&lt;a href="http://www.google.com/search?q=this%2Fthat"&gt;search this/that&lt;/a&gt;</code></p></blockquote>
<p>will not display properly in a hi5 profile. The <code>&lt;a href="..."&gt;</code> tag gets stripped out because of the <b>%2F</b> (an URL-encoded slash &#8220;/&#8221;).</p>
<p>The downside for me is that <strong>pets that have spaces or accented characters in their name will not display on hi5.</strong></p>
<p>I&#8217;m guessing that this is their brain-dead way to prevent XSS (cross-site scripting) vulnerabilities as <a href="http://lists.seifried.org/pipermail/security/2006-June/013976.html">reported here</a>.</p>
<p>It looks like I&#8217;ll have to not encode the flashvars at all on hi5. Hope it works properly&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bunnyhero.org/2007/02/27/hi5-html-filtering-stupidity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
