#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: |
--------------------------------------+-------------------------------------
Changes (by harking):
* status: closed => reopened
* resolution: fixed =>
Comment:
Looking over the the modified test case, I can't replicate
source:/branches/1.2.x.x/cake/tests/cases/libs/controller/components/auth.test....@8151#l844
where {{{$_GET['url']}}} contains the URL parameters.
[[BR]]
[[BR]]
In our apps, {{{$_GET['url']}}} never contains the get parameters, and
when these are removed from the test, it fails similarly to what we're
seeing, where the redirection does not include the get parameters.
[[BR]]
[[BR]]
I've checked {{{$_GET['url']}}} in quite a few locations (Start of
index.php, inside of bootstrap.php, in our AppController::beforeFilter()),
and it never contains the URL parameters.[[BR]]
[[BR]]
The attached patch auth.test.php.GET.url.modification.diff modifies the
test to what we see.
--
Ticket URL: <https://trac.cakephp.org/ticket/6211#comment:7>
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
-~----------~----~----~----~------~----~------~--~---