Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Bug #17309 Improper url-encoding for POST forms
Submitted: 2010-04-13 16:48 UTC
From: alexander_jayson Assigned:
Status: Open Package: Pager (version 2.4.8)
PHP Version: 4.3.9 OS: RHEL 4
Roadmaps: (Not assigned)    
Subscription  


 [2010-04-13 16:48 UTC] alexander_jayson (Alexander Jayson)
Description: ------------ When creating paging with httpMethod = POST the imported submitted data (if importQuery is true, which it is by default) is url encoded erroneously if it contains a % character. Test script: --------------- Set param 'httpMethod' => 'POST' 'importQuery' must also be true, but it is by default Then issue the links ($pager->getLinks();) for a multi-page result If $_POST['test'] contained "1%" for example, the resulting JS code generated will be: input.value = "1%25"; Expected result: ---------------- Expected value would be input.value = "1%";

Comments