<?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/"
		>
<channel>
	<title>Comments on: CakePHP 1.2 RC2 + Security Component</title>
	<atom:link href="http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/</link>
	<description>"The frog can show you how to grow by making intelligent use of whatever opportunity is available." - medicine wheel</description>
	<lastBuildDate>Mon, 01 Feb 2010 14:52:19 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: archF6</title>
		<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/comment-page-1/#comment-9762</link>
		<dc:creator>archF6</dc:creator>
		<pubDate>Wed, 31 Dec 2008 01:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awpny.com/?p=308#comment-9762</guid>
		<description>I was having terrible blackhole problem for hours -- every AJAX form submission was being invalidated. Your post saved me (using echo $form-&gt;end(); to end the form!).  So thanks.  A lot.</description>
		<content:encoded><![CDATA[<p>I was having terrible blackhole problem for hours &#8212; every AJAX form submission was being invalidated. Your post saved me (using echo $form-&gt;end(); to end the form!).  So thanks.  A lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kjell</title>
		<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/comment-page-1/#comment-6769</link>
		<dc:creator>Kjell</dc:creator>
		<pubDate>Fri, 29 Aug 2008 09:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awpny.com/?p=308#comment-6769</guid>
		<description>I can confirm this bug. 

Took me a while till i found the reason (this post) and by debugging it manually (what a pain). 

But i have to report that the fix posted here doesn&#039;t work. In my revision and in the CakePHP trunk the md5() function isn&#039;t called. So nothing to remove.

I was unable to fix it myself and so i am too hoping that the mentioned ticket is closed soon. This issue makes the whole Component useless. :(

BTW. i encountered this problem because i had radio buttons in my form. Probably really &quot;just&quot; a traversing issue.</description>
		<content:encoded><![CDATA[<p>I can confirm this bug. </p>
<p>Took me a while till i found the reason (this post) and by debugging it manually (what a pain). </p>
<p>But i have to report that the fix posted here doesn&#8217;t work. In my revision and in the CakePHP trunk the md5() function isn&#8217;t called. So nothing to remove.</p>
<p>I was unable to fix it myself and so i am too hoping that the mentioned ticket is closed soon. This issue makes the whole Component useless. <img src='http://blog.awpny.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>BTW. i encountered this problem because i had radio buttons in my form. Probably really &#8220;just&#8221; a traversing issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach Wilson</title>
		<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/comment-page-1/#comment-6423</link>
		<dc:creator>Zach Wilson</dc:creator>
		<pubDate>Tue, 12 Aug 2008 01:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awpny.com/?p=308#comment-6423</guid>
		<description>Casey, 

I&#039;m having a similar issue, however, the trigger now seems to be using the form helpers input on multiple checkbox&#039;s.  My best guess is that the hash isn&#039;t taking into account fields that are using the data[Model][fieldname][] syntax.  Unfortunately, I haven&#039;t been able to _fix_ this yet. 

There does seem to be a bug for this:
https://trac.cakephp.org/ticket/5129#comment:description

I hope this gets fixed very soon.  It&#039;s kill me for an element of a project i&#039;m working on.

If you have any more insights, i&#039;d be happy to hear.</description>
		<content:encoded><![CDATA[<p>Casey, </p>
<p>I&#8217;m having a similar issue, however, the trigger now seems to be using the form helpers input on multiple checkbox&#8217;s.  My best guess is that the hash isn&#8217;t taking into account fields that are using the data[Model][fieldname][] syntax.  Unfortunately, I haven&#8217;t been able to _fix_ this yet. </p>
<p>There does seem to be a bug for this:<br />
<a href="https://trac.cakephp.org/ticket/5129#comment:description" rel="nofollow">https://trac.cakephp.org/ticket/5129#comment:description</a></p>
<p>I hope this gets fixed very soon.  It&#8217;s kill me for an element of a project i&#8217;m working on.</p>
<p>If you have any more insights, i&#8217;d be happy to hear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: casey</title>
		<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/comment-page-1/#comment-6116</link>
		<dc:creator>casey</dc:creator>
		<pubDate>Mon, 21 Jul 2008 17:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awpny.com/?p=308#comment-6116</guid>
		<description>One thing you can do to try to trac down this problem is checking that the data submitted your controller is the same as the data seen by your form helper.

Also, make sure that you&#039;re not using $form-&gt;secure(), even though you think you would use it.  You should only have one [__Token] and one [__key] field in your HTML.  

At this point, though, I&#039;ve thought about copying the Security Component from the cake core into my app/controllers/components, and removing the whole amount of code dedicated to the posted data check.  That way I can get the benefits of all the other stuff (like forcing SSL) without that annoying check.</description>
		<content:encoded><![CDATA[<p>One thing you can do to try to trac down this problem is checking that the data submitted your controller is the same as the data seen by your form helper.</p>
<p>Also, make sure that you&#8217;re not using $form->secure(), even though you think you would use it.  You should only have one [__Token] and one [__key] field in your HTML.  </p>
<p>At this point, though, I&#8217;ve thought about copying the Security Component from the cake core into my app/controllers/components, and removing the whole amount of code dedicated to the posted data check.  That way I can get the benefits of all the other stuff (like forcing SSL) without that annoying check.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Hicks</title>
		<link>http://blog.awpny.com/2008/07/cakephp-12-rc2-security-component/comment-page-1/#comment-6079</link>
		<dc:creator>Jeremy Hicks</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awpny.com/?p=308#comment-6079</guid>
		<description>I&#039;ve got this same problem. As soon as I add Security to the component array, I get the blank page back when trying to add or update. I&#039;m doing this in my AppController. I want to use requireSecure so that all my pages have to use SSL. I&#039;m using a newer version of Cake and I verified that the line of code you specified has the required change and yet I still have this problem.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got this same problem. As soon as I add Security to the component array, I get the blank page back when trying to add or update. I&#8217;m doing this in my AppController. I want to use requireSecure so that all my pages have to use SSL. I&#8217;m using a newer version of Cake and I verified that the line of code you specified has the required change and yet I still have this problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
