apache - Using .htaccess to replace backslash in URL with forward-slash -


I realize that a URL should not display in any URL except in the URL escape code, however In order to create a flash button for the URL Being generated by the NET application. I have contacted the developer of this application with a bug report.

In the interim I want to use .htaccess to rewrite the attacking backslash.

How the URLs are displayed in this way Fidler Debugging Proxy

  www.example.com/folder/folder/thumbs%5C1.jpg  

I am using Firefox and this faxfox URL encoded equivalent ( \ ==% 5C1) Interestingly, the backslash is automatically transformed into a forward-slash (in this case, rather convenient to the standards, rather convenient).

All in all. To rewrite Is there any way to use Htaccess?

  reviveignin on REVIRCAND% {REQUEST_URI} (. *) \\ (. *) Rewrite . *% 1 /% 2 [R = 301]  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -