Copied to clipboard

Flag this post as spam?

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


  • Peter van Geffen 54 posts 290 karma points
    Nov 13, 2019 @ 10:42
    Peter van Geffen
    0

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

    I'm trying to add a YouTube Url into the embed option in the grid section.

    It retrieves the video, i can change the width and height of it, it appears in the grid editor, but at the frontend i get a server error.

    enter image description here

    The url i'm using is: https://www.youtube.com/watch?v=47GphaQjxo&feature=emblogo

    or

    https://www.youtube.com/watch?v=47GphaQj_xo

    Both of these give me the server error.

    Even if i remove the https://, which contains the ":" it still doesn't work.

    Who can help me out?

  • Peter van Geffen 54 posts 290 karma points
    Nov 15, 2019 @ 08:38
    Peter van Geffen
    0

    It also goes wrong with a vimeo url.

    And still haven't found a solution for this problem.

  • Nijaz Hameed 38 posts 173 karma points
    Nov 15, 2019 @ 10:17
    Nijaz Hameed
    0

    Please try with the below url

    https://youtu.be/47GphaQj_xo

  • Peter van Geffen 54 posts 290 karma points
    Nov 15, 2019 @ 10:19
    Peter van Geffen
    0

    I did, same error unfortunately

  • Graham Davis 110 posts 376 karma points
    Nov 15, 2019 @ 18:25
    Graham Davis
    0

    Are you able to modify your web.config in the root of the application? Try adding this in the system.web section:

    <system.web>
    <httpRuntime requestPathInvalidCharacters="" requestValidationMode="2.0" />
    <pages validateRequest="false" /></system.web>
    
  • Peter van Geffen 54 posts 290 karma points
    Nov 18, 2019 @ 07:29
    Peter van Geffen
    0

    Already did that. No positive result

  • Daniel Gustafsson 13 posts 93 karma points
    Nov 18, 2019 @ 08:54
    Daniel Gustafsson
    0

    I also have this problem, haven't found a solution yet unfortunately

  • Justin RW 17 posts 137 karma points
    Nov 19, 2019 @ 11:27
    Justin RW
    0

    I'm also getting this issue. I've reported as a bug here as it seems to have only started recently - my existing embedded videos display ok.

  • Peter van Geffen 54 posts 290 karma points
    Nov 19, 2019 @ 12:11
    Peter van Geffen
    0

    As i'm starting with a new project i've got no existing embedded videos in the site.

    What i do know is that it works perfectly in the RTE outside the Grid. But that isn't the solution. I need it to work inside the Grid.

  • Justin RW 17 posts 137 karma points
    Nov 19, 2019 @ 12:33
    Justin RW
    0

    If you add the RTE editor to your grid and embed the video manually in the source of the RTE editor that will work.

  • Peter van Geffen 54 posts 290 karma points
    Nov 19, 2019 @ 12:40
    Peter van Geffen
    0

    That will work indeed, but it's not "idiot" proof.

  • Peter van Geffen 54 posts 290 karma points
    Nov 22, 2019 @ 07:39
    Peter van Geffen
    1

    Got an answer from Umbraco on Twitter:

    Sebastiaan has provided a workaround for this on the issue tracker and we're looking into getting it fixed in an upcoming release. So keep an eye on the issue:

    Workaround on GitHub

  • Ivan Schuaste Cavalheiro 5 posts 77 karma points
    Jun 18, 2020 @ 17:12
    Ivan Schuaste Cavalheiro
    0

    Had this issue recently. For me I was trying tho display a content that I created using the ContentService but I was just "saving" it, not "saving and publishing". One I published it the issue went away.

  • 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