Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: uri and file names

by ferreira (Chaplain)
on Apr 03, 2007 at 18:35 UTC ( #608126=note: print w/replies, xml ) Need Help??

in reply to uri and file names

Anno's solution is just what you need. URI-escaping is used at URI's to reduce the character set a browser needs to understand as input and reduce interpretation problems (with spaces and special characters). Then "boo%20hoo.xls" would generally bring it up a resource with a name like "boo hoo.xls". But if your files have been named after URI-escaping, you need to repeat the process because "%" is special now. That's why you need to URI::Escape again.

That reminded me of an article by Robert Spier (A Canary Trap for URI Escaping) on how they handled the problem of multiply-escaped URIs for the Bitcard sign-on system with the help of "canary traps".

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608126]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-10-17 02:34 GMT
Find Nodes?
    Voting Booth?