#6211: Auth Login Redirect Forgets Query String Parameters
--------------------------------------+-------------------------------------
    Reporter:  harking                |         Owner:  mark_story
        Type:  Bug                    |        Status:  reopened  
    Priority:  Medium                 |     Milestone:  1.2.x.x   
   Component:  Auth                   |       Version:  1.2 Final 
    Severity:  Normal                 |    Resolution:            
    Keywords:  auth get query string  |   Php_version:  n/a       
Cake_version:                         |  
--------------------------------------+-------------------------------------
Comment (by harking):

 I am able to fix the redirect issue we see by modifying what is set for
 the redirect URL in the session when a user is not logged in. The URL that
 is set now includes all of the get parameters, and after a successful log
 in they are redirected correctly.

 There is probably a better way to get the full URL. Currently this patch
 breaks other test cases due to the use of $_SERVER['REQUEST_URI']

 See the auth.php.FixRedirectUriToIncludeGetParams.diff for the patch.

 Thanks for looking into this.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6211#comment:8>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to