Copied to clipboard

Flag this post as spam?

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


  • MK 426 posts 902 karma points
    Aug 29, 2013 @ 14:45
    MK
    0

    Render RTE on MacroScript - Error in links

    Hi there,

    Im using Umbraco 6.1.4 (Just upgraded from 6.1.0 to see if it will solve the bug)

    and for some reason when I;m rendering RTE via Macroscript It will give the following error:

     

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

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]
       System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +12618987
       System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +166

     

    It will not change the node id to link.

    Any idea?

    Regards,

    mkarti

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Aug 31, 2013 @ 10:05
    Jan Skovgaard
    0

    Hi mkarti

    What does the content from the rich text editor look like? And is it the rich text editor you're using? Usually this can happens when code is entered into a textbox but usually Umbraco handles this very well so this seems a bit odd.

    /Jan

  • MK 426 posts 902 karma points
    Aug 31, 2013 @ 10:12
    MK
    0

    Hi Jan,

    Many thanks for your reply.

    Yes Im using the standard Rich text editor. 

    Im just adding simple link to a node in the tree. Its work fine when its on a view (i.e @CurrentPage.text) but @Model.text or @Html.Raw(Model.text) is not working.

    in the href link i get the node id rather than the url.

    Regards,

    mkariti

  • MK 426 posts 902 karma points
    Sep 02, 2013 @ 09:40
    MK
    0

    Update:

    Now noticed that the node.getproperty("name").Value is doing the same on both, view and Macroscript files.

    mkariti

  • 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