[web2py] Accessing static file with consecutive hypens in filename.

2012-07-26 Thread Mark Li
I have a static file named person---dog-3.jpg When I try to access the file through http://127.0.0.1:8000/myapp/static/pets/person---dog-3.jpg I get an invalid request error. However, if I rename the file to person-dog-3.jpg, it works fine. I have a very large number of files named this way

Re: [web2py] Accessing static file with consecutive hypens in filename.

2012-07-26 Thread Jonathan Lundell
On 26 Jul 2012, at 8:50 PM, Mark Li markruole...@gmail.com wrote: I have a static file named person---dog-3.jpg When I try to access the file through http://127.0.0.1:8000/myapp/static/pets/person---dog-3.jpg I get an invalid request error. However, if I rename the file to