Page 364 of 211,269, showing 20 records out of 4,225,378 total, starting on record 7,261, ending on 7,280
# | Username | Text | |
---|---|---|---|
# | Aug 9th 2008, 13:33 | infantigniter | anybody know how this could be happening? |
# | Aug 9th 2008, 13:34 | markstory | infantigniter: are you doing anything like tracking views on pages? |
# | Aug 9th 2008, 13:34 | infantigniter | markstory: i'm using google analytics if that is relevant |
# | Aug 9th 2008, 13:34 | markstory | if you modify a model on a page that is a view action. and a 404 occurs a new record will get inserted. |
# | Aug 9th 2008, 13:35 | markstory | google analyitics is client side. |
# | Aug 9th 2008, 13:37 | infantigniter | markstory: what qualifies as modifying a model? like trying to update records, etc. from a view? |
# | Aug 9th 2008, 13:37 | markstory | anything that could be considered a save() / saveField() |
# | Aug 9th 2008, 13:40 | infantigniter | markstory: i don't do any of those in any view. i use some requestAction, but that's all Select * stuff |
# | Aug 9th 2008, 13:40 | markstory | well then I dunno. |
# | Aug 9th 2008, 13:41 | infantigniter | another weird thing, the table that has the null fields -- it only has like 5 rows. but it's displaying like 20/30 empty records on my browse pages |
# | Aug 9th 2008, 13:41 | infantigniter | it's mind boggling |
# | Aug 9th 2008, 13:43 | TonkaTruck | In order for the prefix routing example in the book to be reverse route compatible, the wildcard needs to be set as ...:action/* Then, it works swimmingly. |
# | Aug 9th 2008, 13:47 | Anon323 | AD7six: Thanks for the security component / whitelist hint. how does cleanUpFields() work? how does it know what to clean up? |
# | Aug 9th 2008, 13:49 | markstory | cleanUpFields doesnt exist any more in 1.2 |
# | Aug 9th 2008, 13:50 | markstory | its done automatically in Model::deconstruct |
# | Aug 9th 2008, 13:54 | Anon323 | markstory: So form inputs I didn't specify will be discarded? (e.g. an attacker can't manually add an form input element which cake will automatically save?) |
# | Aug 9th 2008, 13:54 | markstory | Anon323: security component stops form tampering. |
# | Aug 9th 2008, 13:55 | markstory | are you refereing to controller::cleanUpFields? |
# | Aug 9th 2008, 13:56 | Anon323 | yes. i read about whitelisting. cleanUpFields() turned up as acceptable search result. |
# | Aug 9th 2008, 13:57 | Anon323 | markstory: @security component: Means I have to add |