If AD7six says not to upgrade a Cake 1.1 app to Cake 1.2, then I
apologize.  I didn't think there'd be that many upgrade changes from
1.1 to 1.2 (my memory must be getting bad - oops).

Anyway, as far as baking from a different table, I did not mean to
create an entirely different app.  You can simply add a test table to
the current database you're using for your project ('tests') and test
your erroring strings (i.e.: http://www.geocities.com) in a simple,
newly built, untouched CRUD interface to verify if it's a bug with
your version of Cake, or with your code.  All you'd need to do is add
a new model, controller, and view for the tests table within the same
project - as it wouldn't be linked to your CMS by default, I don't
think it'd cause any issues.

However, I'd recommend taking AD7six's advice.

On Aug 17, 9:04 am, foldiman <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
>
>
> > On Aug 16, 12:03 pm, AD7six <[email protected]> wrote:
>
> > > On Aug 16, 11:36 am, technicaltitch <[email protected]> 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to