Re: encrypted urls, mcrypt and mod_rewrite
| From: | Jochem Maas | Date: | Thu, 23 Feb 2006 10:49:21 +0000 |
| Subject: | Re: encrypted urls, mcrypt and mod_rewrite | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230945@lists.php.net to get a copy of this message | ||
Dan Rossi wrote:
Somehow this part of the string is a problem, it has underscores, but there is probably other things in this.give code, give the whole string.
_%E5%D4%13%82%C9%DFN%5EFs%5E47%B2v%2F%D7%A4%0C%C6%9EnJ On 23/02/2006, at 6:01 PM, Dan Rossi wrote:why do you have the QSA flag here?Hi ive been trying to find answers with no luck. I am sending a urlencoded encrypted string made with mcrypt. what is happening is there is somehow special characters that mod_rewrite doesnt like so it wont find a regex match properly with this rule RewriteRule ^feeds/(.*)$ refer.php?$1 [L,QSA]
Any ideas what it could be doing ? The strings are also quite random, so it will work sometimes for a particular url then other times not ?