express icon indicating copy to clipboard operation
express copied to clipboard

Forbidden Route? I was roquesting Filename.

Open pyrostrex opened this issue 15 years ago • 1 comments

OK, well I don't know why, my route is something like

get('download/file/*', function(response ....)

then, I try to get a filename like this

http://www.mywebsite.com/download/file/a_file_name_to..download.zip

If you noticed there's 2 dots at my filename there. Why is it response to me saying 'forbidden'? It didn't even went inside the route list.

pyrostrex avatar Mar 01 '11 04:03 pyrostrex

because '..' can be used to traverse directories

tj avatar Mar 01 '11 05:03 tj