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

    A potentially dangerous Request.QueryString


    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?


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

    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

    Thanks for your suggestion, but I found in an other topic the solution for the error. ( )

    I've added the following code to my template:


    Thanks again ;-)

Please Sign in or register to post replies

Write your reply to: