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

Bug #3043 Pager + mod_rewrite, recursive urlencode() breaks rewrite handler
Submitted: 2004-12-28 12:29 UTC
From: benediktlaube at gmail dot com Assigned: quipo
Status: Closed Package: Pager
PHP Version: 4.3.10 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-12-28 12:29 UTC] benediktlaube at gmail dot com
Description: ------------ When mod_rewrite together with Pager, the request argument gets urlencoded by Pager. The mod_rewrite handler needs to urldecode() to be able to parse the request. There needs to be recursive urldecode() for each time a Pager link has been clicked. As the number of urldecodes cannot be guessed, there should be an option for mod_rewrite situations to be used alongside Pager.

Comments

 [2004-12-28 12:32 UTC] benediktlaube at gmail dot com
A hint how to fix the rewrite handler to deal with the unknown number of urlencodes will suffice.
 [2005-01-03 17:24 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!
 [2005-01-10 12:41 UTC] benediktlaube at gmail dot com
Hi I am still experiencing problems. The main Problem is due to the mod_rewrite. I use URLs like http://www.mysite.com/shop/electronics upon entering the page that has the Pager() Links, everything is fine. The request is attached to the URL by Pager like this: http://www.mysite.com/index.php?request=shop/electronics&PageID=3 (or 4,5,6,7,...) Now, when I click a Pager link to get to another page, there the attached request looks like: http://www.mysite.com/index.php?request=shop%2Felectronics&PageID=3 So when I click a link now, it obviously will not work as my rewrite handler cannot use %2F but needs the '/' as separator. I don't understand why it's not urldecoded...pls help!
 [2005-01-11 10:50 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!
 [2005-01-11 10:53 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!
 [2005-01-11 11:23 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!
 [2005-01-17 13:38 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!