I have uploaded a file in my asp.net page with filename "Ex&#_17.pdf" then when getting file at backend using Request.Files[0] then getting following error.
A potentially dangerous Request.Files value was detected from the client (filename="Ex&#_17.pdf")
If i changed the file name to following types then it is working fine.
- "Ex&_#_17.pdf"
- "Ex#&_17.pdf"
- "Ex&_17.pdf"
- "Ex#_17.pdf"
I assume that only &# in file name is treated as potentially dangerous.
So, my question is that, is there any other special characters which and produce this error.
I googled this error, but finds nothing.