Forum Moderators: phranque
hello
i try to do this
how can i transform %252f charI'd worry about how you arrived at %25blahblah in the first place, since that's double encoding (the % sign by itself is %25). One option is to rewrite to a php script that does the decoding and wraps up by issuing the redirect, as in:
RewriteRule ^image\.axd /fixup.php [L]
(conditionless, I think). It shouldn't be necessary to capture anything, since the php page can still "see" the originally requested URL, query and all. Note that although this is superficially a rewrite ([L] flag alone), the rule needs to be placed among the redirects in htaccess, because this hypothetical php page will wind up by issuing a redirect; the request will never see your htaccess again.