Copied to clipboard

Flag this post as spam?

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


  • Darren Clark 53 posts 250 karma points
    May 14, 2013 @ 16:11
    Darren Clark
    0

    Umbraco 6.0.5 TinyMce Insert Local Link

    Hi ,

     

    Having an issue with 6.0.5(mvc mode) when inserting a local link using tinymce. Iam sure i have seen this issue in previous builds but cannot be certain.

    The resulting html is /{localLink:1074} and not the page url

    When clicking the link on the page i get:

     

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

     

    Can anyone replicate this issue?

    Regards

    Darren

     

     

     

  • Darren Clark 53 posts 250 karma points
    May 15, 2013 @ 10:43
    Darren Clark
    100

    Seems to be related to this issue which is for version 4.11.1

    U4-1304 Umbraco.Field not replacing localLink when recursive:true

    Iam guessing this fix has not been added to version 6.0.5

    Two workarounds for me below if anyone has simlar issue.

    @Umbraco.Field("bodyText", recursive:false) or @CurrentPage._bodyText


  • Daniël Tulp 33 posts 64 karma points
    Nov 20, 2013 @ 10:27
    Daniƫl Tulp
    0

    I have this issue in 6.1.6

    I'm using a lot of uQuery.GetNode(id).GetProperty("bodyText");

    Using Currentpage.bodyText fixes this issue indeed

  • Christopher Vaught 29 posts 54 karma points
    Nov 20, 2013 @ 17:12
    Christopher Vaught
    0

    You'll have to use something like this.

    @Html.Raw(Umbraco.Web.Templates.TemplateUtilities.ParseInternalLinks(contentValue))

     

  • Tuan Nguyen 26 posts 166 karma points
    Dec 13, 2016 @ 09:58
    Tuan Nguyen
    0

    Thanks Christopher,

     Your solution have resolved my issue, i really need for my task, thanks again.
    

    Thanks Tuan Nguyen.

  • 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