On Thu, Feb 19, 2009 at 8:00 AM, neverlosty <[email protected]> wrote:
>
> Hi,
>
> I'm trying to get view cache to work and everything is fine apart from
> when the URL has an apostrophe in it.
> eg, http://www.example.com/tim's+stuff
>
> The cache engine turns it into something like tim_s_stuff.php
> But when I try to access the page again, I simply get a white screen
> of fiery death.
>
> Does anyone know if there's something I can do to remedy this?

Certainly. Don't use apostrophes in your URLs. If really you must do
so, encode them first.

http://www.w3.org/Addressing/URL/4_URI_Recommentations.html
http://en.wikipedia.org/wiki/Percent-encoding

And apostrophes are an especially problematic character as certain
applications like to change them to "smart" quotes. Not very helpful
when the string they are in is to be used as a resource locator.

--~--~---------~--~----~------------~-------~--~----~
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