PEAR is archived and read-only

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

Home » HTML » HTML_AJAX » Bug #7584

Double question mark (??) in URL

Details

Submitted2006-05-09 00:11 UTC
Fromgreg at claranet dot fr
Assignedlyaish
StatusClosed
PackageHTML_AJAX
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2006-05-09 00:11 UTC] greg at claranet dot fr

Description:
------------
Line 161 of Server.php is:

$this->ajax->serverUrl = htmlentities($_SERVER['PHP_SELF']) .'?'. htmlentities($querystring);

I had to cut it to :

$this->ajax->serverUrl = htmlentities($_SERVER['PHP_SELF']);

(as in previous version) or else the server URL was showing a double question mark at the beginning of query parameters :

http://localhost/auto_server.php??c=class&m=method

[2006-06-15 18:49 UTC] jeichorn at php dot net

Can you retest in 0.4.1, i think we have this fixed

[2006-07-06 13:01 UTC] greg at claranet dot fr

I don't remember where the problem was, but I updated the package to the newest version and I didn't have to modify the code so I guess it's working now. Thanks :)

[2006-07-07 04:49 UTC] lyaish at php dot net

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/HTML_AJAX