PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » Pager » Bug #2908

Invalid GET returning array values

Details

Submitted2004-12-06 12:03 UTC
Fromrobertva at email dot si
Assignedquipo
StatusClosed
PackagePager
PHP Version5.0.2
OSWXP 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'.