The original post about problem strings and TinyMCE reminds me of a problem I recently had. Search for "500.shtml error? What is this? Help!?" in this group.
But I had built a basic CMS that allowed an admin to change text in specific views. Whenever the text contained "from" or other specific words, submitting the form would redirect the browser to a page that did not exist. Removing TinyMCE allowed the text to submit without a problem. However, TinyMCE was a requirement. It turns out the server admin had set the mod_security settings to protect against sql injection. Once he removed the mod_security settings site-wide, the problem went away. I made sure I was using Cake's sanitize function as a sql injection protection. I hope this helps. On Aug 16, 6:12 am, AD7six <andydawso...@gmail.com> wrote: > On Aug 16, 12:03 pm, AD7six <andydawso...@gmail.com> wrote: > > > On Aug 16, 11:36 am, technicaltitch <technicalti...@gmail.com> wrote: > > PS "By 404 I mean that when I press submit, it redirects to the > homepage, which is exactly what it does if I type in a non-existent > URL." > > Is that your entire basis for thinking that cake is treating certain > strings as if they were blank? That's a pretty far fetched assumption > - especially as it's your own code requesting the redirect (directly, > or indirectly). > > Overriding redirect, and setting debug to != 0 should help you find > the reason. > > AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---