Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- There is a setting that needs to be set in order for addresses (URIs) with special characters to not crash the application. I'm not sure why this happens or if it even still happens today, in my experience certain special characters in a URI, I think it was in a search request, caused the application to crash. To fix this, I utilized something called RequestPathInvalidCharacters
- Microsoft Pointer
- https://docs.microsoft.com/en-us/dotnet/api/system.web.configuration.httpruntimesection.requestpathinvalidcharacters?redirectedfrom=MSDN&view=netframework-4.7.2#System_Web_Configuration_HttpRuntimeSection_RequestPathInvalidCharacters
- /web.config
- Added requestPathInvalidCharacters="" to system.web.
- This is what mine looked like.
- <system.web>
- <httpRuntime targetFramework="4.6.1" requestPathInvalidCharacters="" />
- </system.web>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement