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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 + 31 = ?

 
 [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", ...

Comments

 [2006-02-03 10:30 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!