express
express copied to clipboard
Forbidden Route? I was roquesting Filename.
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.
because '..' can be used to traverse directories