Re: [Resin-interest] Quercus PHP throws NullPointerException in urlencode

2007-11-06 Thread sjanes71
It looks like a bug in Quercus when urlencode is given an empty $_REQUEST variable, I changed to code in Phorum to guard the call to urlencode() to this (lines 192-196 of include/admin/users.php): [code] 192 if ($_REQUEST["search"]) { $url_safe_search=urlencode($_REQUEST["search"]); }

[Resin-interest] Quercus PHP throws NullPointerException in urlencode

2007-11-06 Thread sjanes71
I'm testing Phorum inside the Quercus PHP system in JBoss AS 4.2.1-- when I click on the Edit users link from the Admin console, Quercus bails with: java.lang.NullPointerException com.caucho.quercus.lib.UrlModule.urlencode(UrlModule.java:743) com.caucho.quercus.lib.UrlModule.urlen