What about "http" and "https"? I'm using the language controller form:
http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial,
and in "change" method there is, a line:

$this->redirect($this->referer(null, true));

The problem is if I use my app via https protocol It always redirects
me to start page during the language changing. If I change that line
to:

$this->redirect($this->referer());

everything is ok. Is it means that https urls are for Cake external?
Are there any security issues if I use referer not only for local urls?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to