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 #2754

It's not possible to use javascript as the urlVar

Details

Request #2754It's not possible to use javascript as the urlVar
Submitted2004-11-15 10:37 UTC
Fromdavid at djin dot com
Assignedquipo
StatusClosed
PackagePager
PHP Version4.3.9
OSGNU/Linux
Roadmaps(Not assigned)

Comments

[2004-11-15 10:37 UTC] david at djin dot com

Description:
------------
Hi,

I tried to put javascript in the urlVar, but Pager puts a "/" in front of it so the url looks like this:

/javascript:"function( );"

So I tried to explicitly set the path to '', but Pager sets it back to "/".

Maybe it is possible to modify the behaviour of Pager to not put the "/" back in if someone explicitly set path to ''?