Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Bug #6680 fileName parameter crashes with %
Submitted: 2006-02-03 09:04 UTC
From: gonzalo123 at gmail dot com Assigned: quipo
Status: Closed Package: Pager (version 2.3.5)
PHP Version: 5.0.4 OS: SUSE SLS9
Roadmaps: (Not assigned)    

 [2006-02-03 09:04 UTC] gonzalo123 at gmail dot com
Description: ------------ When I try to create a Pager object with factory method and I put into the parameter array one % symbol (for example an HTML blank space) it crashes. Pager replaces "%d" with page number but if there is other % symbol the output is "" ... 'fileName' => "$SITE?cmd=".urlencode($CMD)."&id=%d", ... Urlencode sometimes returns "%" (is valid in HTML request) Test script: --------------- $CMD = "hello world"; ... 'fileName' => "$SITE?cmd=".urlencode($CMD)."&id=%d", ...


 [2006-02-03 10:30 UTC] quipo
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.