#5978: Router::normailze function generates bad url
-------------------------------------------+--------------------------------
Reporter: maksap | Owner: nate
Type: Test Case | Status: reopened
Priority: Medium | Milestone: 1.2.x.x
Component: Routing/Dispatcher | Version: RC3
Severity: Normal | Resolution:
Keywords: url normalize base baseurl | Php_version: n/a
Cake_version: 1.2.0.7692 RC3 |
-------------------------------------------+--------------------------------
Comment (by masom):
After re-checking the whole code path... The problem isn't directly with
Router::normalize() as it's doing it's job elsewhere, and changing the
code there won't solve the issue at hand.
The problem we have is when being redirected by Auth to the login page
from a plugin, Auth::redirect() or the session variable does not have the
plugin getting passed to Router::normalize(). When Auth has authenticated
the user, since it doesn't have the plugin name, Router::normalize() is
unable to correctly build the right URL. The problem lie probably more
where Auth stores the url for the redirect once the user is authenticated.
--
Ticket URL: <https://trac.cakephp.org/ticket/5978#comment:9>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---