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 548 posts 1840 karma points MVP 3x 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

Please Sign in or register to post replies

Write your reply to:

Draft