Asp.net 4 path validation issue

If you encountered the following error message while trying to navigate using a query string “A potentially dangerous Request.Path value was detected from the client (?)” this can be fixed by adding the following on the web.config:

<system.web>
    <httpRuntime requestPathInvalidCharacters="" />
    ........
    .........
</system.web>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s