I have a page called ..hi i get this error when visiting the page. Why is that illegal?
Server Error in '/' Application.
HTTP Error 400 - Bad Request.
Version Information: ASP.NET Development Server 10.0.0.0
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As part of the URI Specification (section 5.2, “relative resolution”), dots are always removed from the URI and used to specify relative paths. The double-dot
..refers to the parent path.It’s technically an invalid URI because these relative path tokens need to be followed by a path separator, i.e. the
/. In your case, it’s being followed by the texthi, which doesn’t conform to the specification and comes back as a “bad request.”