PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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 ''?