Copied to clipboard

Flag this post as spam?

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


  • Niels 63 posts 119 karma points
    Apr 24, 2014 @ 11:29
    Niels
    0

    A potentially dangerous Request.QueryString

    Goodmorning,

    I want to use optimus on an Umbraco v6.1.6 installation, but after install when I want to bundle the css or js files I get the following error:

     

    A potentially dangerous Request.QueryString value was detected from the client (snippet="<link href="/css/res...").

    It is a project using webforms, so I don't know if that's causing the problem?

    Thanks!

  • Damon Bauer 48 posts 95 karma points
    Apr 25, 2014 @ 16:51
    Damon Bauer
    0

    How are you referencing the bundle in your template? For webforms, I use something like this:

    <%: Styles.Render("~/bundles/global-styles") %>
  • Niels 63 posts 119 karma points
    Apr 28, 2014 @ 16:41
    Niels
    0

    Thanks for your suggestion, but I found in an other topic the solution for the error. ( http://our.umbraco.org/forum/using/ui-questions/6888-A-potentially-dangerous-RequestForm-value-was-detected-from-the-client )

    I've added the following code to my template:

    <umbraco:DisableRequestValidationrunat="server"/> 

    Thanks again ;-)

  • 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