Re: [web2py] Spaces in URL for static files

2012-09-11 Thread Jonathan Lundell
On 11 Sep 2012, at 2:54 PM, jc wrote: > I have a file "app/static/docs/Report 2008 12.pdf" i.e. it is in a subdir of > static and the filename has spaces. > I use URL('static', 'docs', 'Report 2008 12.pdf') to generate the link. > When I click the link the browser address bar contains > http://l

[web2py] Spaces in URL for static files

2012-09-11 Thread jc
Hello, I have a file "app/static/docs/Report 2008 12.pdf" i.e. it is in a subdir of static and the filename has spaces. I use URL('static', 'docs', 'Report 2008 12.pdf') to generate the link. When I click the link the browser address bar contains http://localhost:8000/static/docs/Report%202008%2