#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 eimermusic):
* status: closed => reopened * resolution: fixed => Comment: I hope you don't think me rude for re-opening this ticket. I asked on irc and posted on the google group without response so this is my "last resort".[[BR]] [[BR]] I think the fix for this bug may not be compatible with parseExtensions.[[BR]] [[BR]] After updating to 1.2.3 I get redirected to urls like this after login:[[BR]] [[BR]] {{{ http://example.com/?ext=html }}} [[BR]] If I comment out parseExtensions in routes.php the urls are back to normal. Looking at the changeset I see that the new code simply checks the length of the url array and thus not working properly when parseExtensions is being used.[[BR]] [[BR]] I was hoping for some aid in verifying that this is a proper bug but failed to get any response.[[BR]] For me all is well if I change the code to read: [[BR]] {{{ $query = $controller->params['url']; unset($query['url']); unset($query['ext']); if ( count($query) ) { $url .= Router::queryString($query, array()); } }}} [[BR]] Again, sorry for re-opening the ticket. I know it is not too popular. -- Ticket URL: <https://trac.cakephp.org/ticket/6211#comment:12> 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 tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---