Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

A potentially dangerous Request.Path value was detected from the client (:).

$
0
0

Hi Folks!

I need some help with this one. I'm running an older, legacy type web app (forum) that can't really be updated and, worse then that, I'm not very good with things like this (ohno!). On the more positive side, I think I can provide all the info required to hopefully make this an easy question for someone.

Since installing a recommdended .NET update I had been getting 'URL too long errors' in the event viewer. I solved that by adding this line to the web.config file;

<compilation debug="true" targetFramework="4.0" />
<httpRuntime maxUrlLength="2000"/>

That issue seems to have gone away. However, I now see a new issue that I can replicate quite easily. In the event viwer I now see this error;

A potentially dangerous Request.Path value was detected from the client (:).

The URL that causes this error to occur is this;

http://www.cbr125world.com/forums/index.php?showtopic=8726&st=0&pid=39963&#entry39963

Can anyone tell me what the magic line is that I need to add to the web.config file to prevent this error from occurring, or, I guess, to allow IIS 7.5 to accept that kind of URL?

Thanks very much!

Marvin Miller


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>