If you are using a .NET application, it is caused by the ASP.NET HTTP runtime, more specifically its request filtering function.
If the URL path contains any of the forbidden characters ( <,>,*,%,&,:,\\,? ), the runtime generates an exception and, due to the exception, IIS returns an 500 error code.
System.Web.HttpException: A potentially dangerous Request.Path value was detected by the client (:).
You can configure illegal characters in your web.config .
<system.web> <httpRuntime targetFramework="4.5" requestPathInvalidCharacters="*,%" /> </system.web>
But I would be careful, because there may be some security implications for such a change.
Lukas Kabrt
source share