<?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: Filtering Post Content with kses</title>
	<atom:link href="http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 02:07:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: craig</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-102</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 29 Sep 2005 21:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-102</guid>
		<description>Damn, my example got filtered even though I spaced the html tag brackets. I mean using the font tag with attribute color=&quot;red&quot;.</description>
		<content:encoded><![CDATA[<p>Damn, my example got filtered even though I spaced the html tag brackets. I mean using the font tag with attribute color=&#8221;red&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-101</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 29 Sep 2005 21:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-101</guid>
		<description>Lorelle with inline styles you can do posistion:absolute or relative etc and overlay the wordpress admin bar with one that looks just like it but does something entirely different. (send the user to a false login page should they click it)

if position: was excluded and all the other styling elements were reinstated, everyone would be happier. Floats will only float inside a container so they&#039;re not a problem since we can only create content in the template areas. Colors too. I can&#039;t think of any other style elements off the top of my head that could be abused...

If you want to do colors you can do redtext  I think...</description>
		<content:encoded><![CDATA[<p>Lorelle with inline styles you can do posistion:absolute or relative etc and overlay the wordpress admin bar with one that looks just like it but does something entirely different. (send the user to a false login page should they click it)</p>
<p>if position: was excluded and all the other styling elements were reinstated, everyone would be happier. Floats will only float inside a container so they&#8217;re not a problem since we can only create content in the template areas. Colors too. I can&#8217;t think of any other style elements off the top of my head that could be abused&#8230;</p>
<p>If you want to do colors you can do redtext  I think&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle VanFossen</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-84</link>
		<dc:creator>Lorelle VanFossen</dc:creator>
		<pubDate>Mon, 26 Sep 2005 16:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-84</guid>
		<description>I understand that stripping javascript functions is totally a security precaution. But stripping out &lt;span style=&quot;color:red&quot;&gt;text in red&lt;/span&gt; is really dumb. Inline styles like font, color, font size, border, and such are totally lacking any security risks, so why should all style inline styles be stripped out in post content?

Even tags like &lt;small&gt;, &lt;large&gt;, and &lt;x-large&gt; for font sizes are stripped out, even if they are used in the style sheet.

Please explain the security risk involved in such CSS inline styles and common styling HTML tags.</description>
		<content:encoded><![CDATA[<p>I understand that stripping javascript functions is totally a security precaution. But stripping out &lt;span style=&#8221;color:red&#8221;&gt;text in red&lt;/span&gt; is really dumb. Inline styles like font, color, font size, border, and such are totally lacking any security risks, so why should all style inline styles be stripped out in post content?</p>
<p>Even tags like &lt;small&gt;, &lt;large&gt;, and &lt;x-large&gt; for font sizes are stripped out, even if they are used in the style sheet.</p>
<p>Please explain the security risk involved in such CSS inline styles and common styling HTML tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: footballtrivia</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-78</link>
		<dc:creator>footballtrivia</dc:creator>
		<pubDate>Sun, 25 Sep 2005 16:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-78</guid>
		<description>Is it absolutely necessary to remove the script elements from the pages?  I wanted to do a little toggle function so people don&#039;t see the answers to trivia questions until they click on the &#039;Show Answer&#039; link.  Maybe you could have a library of common javascript functions exposed to all users of wordpress.com.  Peopl e can submit code they would like to be there and moderators can decide whether it is a valid entry or not?

Can you explain the reason for stripping the &#039;style&#039; attributes?

Thanks</description>
		<content:encoded><![CDATA[<p>Is it absolutely necessary to remove the script elements from the pages?  I wanted to do a little toggle function so people don&#8217;t see the answers to trivia questions until they click on the &#8216;Show Answer&#8217; link.  Maybe you could have a library of common javascript functions exposed to all users of wordpress.com.  Peopl e can submit code they would like to be there and moderators can decide whether it is a valid entry or not?</p>
<p>Can you explain the reason for stripping the &#8217;style&#8217; attributes?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle on WordPress &#187; Users FAQ for wordpress.com</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-71</link>
		<dc:creator>Lorelle on WordPress &#187; Users FAQ for wordpress.com</dc:creator>
		<pubDate>Sat, 24 Sep 2005 03:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-71</guid>
		<description>[...] I&#8217;ll talk more about this later, but remember this. WordPress is user driven. If you don&#8217;t like what is going on, complain, loudly, with specific suggestions. Squeaky wheel and all that. [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ll talk more about this later, but remember this. WordPress is user driven. If you don&#8217;t like what is going on, complain, loudly, with specific suggestions. Squeaky wheel and all that. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle VanFossen</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-42</link>
		<dc:creator>Lorelle VanFossen</dc:creator>
		<pubDate>Thu, 22 Sep 2005 21:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-42</guid>
		<description>I take my thank you back. Posts saved before the change still retain the inline styles. New posts strip them. Not happy. Very much not happy.</description>
		<content:encoded><![CDATA[<p>I take my thank you back. Posts saved before the change still retain the inline styles. New posts strip them. Not happy. Very much not happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle VanFossen</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-41</link>
		<dc:creator>Lorelle VanFossen</dc:creator>
		<pubDate>Thu, 22 Sep 2005 21:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-41</guid>
		<description>It looks like the inline styles have been restored. Thank you!!! THANK YOU!!!! (can I use inline styles to make this 150px high?)  ;-)</description>
		<content:encoded><![CDATA[<p>It looks like the inline styles have been restored. Thank you!!! THANK YOU!!!! (can I use inline styles to make this 150px high?)  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-39</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 22 Sep 2005 09:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-39</guid>
		<description>Donncha,

I haven&#039;t edited them today and they are being filtered...
Just like Lorelle&#039;s there.</description>
		<content:encoded><![CDATA[<p>Donncha,</p>
<p>I haven&#8217;t edited them today and they are being filtered&#8230;<br />
Just like Lorelle&#8217;s there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle VanFossen</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-38</link>
		<dc:creator>Lorelle VanFossen</dc:creator>
		<pubDate>Thu, 22 Sep 2005 00:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-38</guid>
		<description>I just figured out what you are talking about. This means that if I have any inline styles they are totally filtered out of the posts. This sucks. I have a bunch of inline styles put in to create little sidbar boxes and stuff throughout my wordpress.com site. These are now all borked. This stripping of the content inline styles has taken away the tiny bit of creative element available in the post area.

Why?

Is it because of the problems with the WYSIWYG for copying and pasting from other sites? What is the purpose of this?

I want control of the HTML tags when I write in the post area. Why take that away?

And now, I have to go through and edit dozens of posts which are now really confusing due to the loss of the little highlighted boxes. Or is this temporary?

I can see it being stripped from comments, but not from the content area. Fixing borked tags, sure, but stripping? That&#039;s a little drastic.</description>
		<content:encoded><![CDATA[<p>I just figured out what you are talking about. This means that if I have any inline styles they are totally filtered out of the posts. This sucks. I have a bunch of inline styles put in to create little sidbar boxes and stuff throughout my wordpress.com site. These are now all borked. This stripping of the content inline styles has taken away the tiny bit of creative element available in the post area.</p>
<p>Why?</p>
<p>Is it because of the problems with the WYSIWYG for copying and pasting from other sites? What is the purpose of this?</p>
<p>I want control of the HTML tags when I write in the post area. Why take that away?</p>
<p>And now, I have to go through and edit dozens of posts which are now really confusing due to the loss of the little highlighted boxes. Or is this temporary?</p>
<p>I can see it being stripped from comments, but not from the content area. Fixing borked tags, sure, but stripping? That&#8217;s a little drastic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donncha</title>
		<link>http://ryan.boren.me/2005/09/20/filtering-post-content-with-kses/#comment-29</link>
		<dc:creator>Donncha</dc:creator>
		<pubDate>Wed, 21 Sep 2005 09:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://ryan.wordpress.com/2005/09/20/filtering-post-content-with-kses/#comment-29</guid>
		<description>Your current post still contains the div, but from now on that code will be removed. Better not edit those posts again! :)</description>
		<content:encoded><![CDATA[<p>Your current post still contains the div, but from now on that code will be removed. Better not edit those posts again! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
