Copied to clipboard

Flag this post as spam?

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


  • John Dawson 24 posts 135 karma points
    Jun 16, 2021 @ 12:16
    John Dawson
    0

    Umbraco Forms automatically escaping slashes in strings

    I have a form which has some short answer fields for a user to enter a URL. When I pull this through though it automatically escapes the slashes so the URL is malformed. So in the CMS it appears:

    enter image description here

    But when I pull the data through in the View it comes out as:

    enter image description here

    and so doesn't work. How can I stop the escape characters?

    Thanks, John

    note interestingly if I enter the malformed URL here, it fixes it, so I posted a screenshot instead, but that must mean it's an easy/obvious fix! :)

Please Sign in or register to post replies

Write your reply to:

Draft