Really depends on what type of app you have. If you're using something like MVC then it would fail. However if it is just a regular web app then no it wouldn't fail probably. The web server matches the URL to the app that will handle it (generally the first part of the path) and then forwards to the app to handle the request. Everything after that is managed by the app itself. For a regular web site, the next URL is a file so it matches the file on disk and it is done. The remaining path and query string would effectively be ignored for routing but the URL itself would contain the information (if the page was using client scripting to see it).
why is 404 not showing for subfolders that don't exist on iis server
tre52
0
Reputation points
For example, I have a webpage https://abc.com/test.html that comes up correctly. However, if I type
https://abc.com/test.html/test.html which doesn't exist it brings up the same page except it has no stylesheets applied. I would have thought it would return a 404 error. Is that not correct?