ZF-10787: urlencoded parameters - %2F is being treated as a /

Description

I am redirecting to a log in form like so:

$this->_helper->redirector('login', 'auth', null, array('redirect' => $this->getRequest()->getRequestUri()));

Results in: http://domain.com/admin/auth/…

This seems to work fine in 1.10.8 but in the latest version (1.11.1) %2F is being treated as a /:

Ver 1.10.8 array(9) { ["module"]=> string(5) "admin" ["controller"]=> string(4) "auth" ["action"]=> string(5) "login" ["redirect"]=> string(120) "/admin/viewer/show/dateFrom/2010-12-13/dateTo/2011-01-03/highlight/2010-12-20/show/1/mode/occupancy-diary/memberId/50000" ["username"]=> string(12) "jonathan" ["password"]=> string(9) "mypassword" ["code1"]=> string(1) "5" ["code2"]=> string(1) "5" ["submit"]=> string(5) "Login" }

Ver 1.11.1 array(16) { ["module"]=> string(5) "admin" ["controller"]=> string(4) "auth" ["action"]=> string(5) "login" ["redirect"]=> string(0) "" ["admin"]=> string(6) "viewer" ["show"]=> string(8) "dateFrom" ["2010-12-13"]=> string(6) "dateTo" ["2011-01-03"]=> string(9) "highlight" ["2010-12-20"]=> string(4) "show" [1]=> string(4) "mode" ["occupancy-diary"]=> string(8) "memberId" ["username"]=> string(12) "jonathan" ["password"]=> string(9) "mypassword" ["code1"]=> string(1) "5" ["code2"]=> string(1) "5" ["submit"]=> string(5) "Login" }

Thanks.

Comments

I did not perform a battery of tests but believe that be after change ZF-3527.

I added a test case in comments for ZF-3527.

Potential fix in trunk at r24002 - asking for watchers to test now.

Fixed in trunk at r24002 Fixed in release branch 1.11 at r24003