Home » HTML » Pager » Bug #2908
Invalid GET returning array values
Details
| Submitted | 2004-12-06 12:03 UTC |
|---|---|
| From | robertva at email dot si |
| Assigned | quipo |
| Status | Closed |
| Package | Pager |
| PHP Version | 5.0.2 |
| OS | WXP SP2 |
| Roadmaps | (Not assigned) |
Comments
[2004-12-06 12:03 UTC] robertva at email dot si
Description:
------------
When using HTML_QuickForm with Hierarchy select which uses array names for variables, pager does not work correctly using GET method (maybe even POST).
In URL: /search.php?q=test&location%5B0%5D=10&location%5B1%5D=
(meaning:
q=test
location[0]=com
location[1]=
)
it does not recognize valid array.
In function _getLinksUrl() in Pager_Common you just check for '[' and ']' and not for '%5B' and '%5D'.