Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom Bruce 122 posts 506 karma points
    Oct 16, 2017 @ 09:28
    Tom Bruce
    0

    Redirect to a more friendly error page

    Every time a user posts something containing < or > in a page in my web application, I get this exception thrown

     “A potentially dangerous Request.Form value was detected from the client (Message="
    
        <script></script>
    
    ").”
    

    Is there way I can redirect the user to a more friendly error page?

  • Frans de Jong 550 posts 1862 karma points MVP 5x c-trib
    Oct 16, 2017 @ 09:39
    Frans de Jong
    102

    I use IIS custom errors for all the errors exept the 404. I let Umbraco handle the 404.

  • Tom Bruce 122 posts 506 karma points
    Oct 16, 2017 @ 10:10
    Tom Bruce
    0

    Ok Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies