Guys,

I am having a problem with cache if the URL has apostrophe in it.

For example:
www.example.com/controller/action/What's My Name

On first load when cache isn't there, it loads fine. However, once the
cache is created, the subsequent load of the page causes PHP syntax
error because in the cache file there is a line:

$controller->here = $this->here = '/controller/action/What's My
Name?';

Note the apostrophe isn't escaped and hence the PHP syntax error.

How can I fix this? Is this considered a bug in Cake?

Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to