Copied to clipboard

Flag this post as spam?

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


  • HC 2 posts 22 karma points
    Jun 30, 2010 @ 05:29
    HC
    0

    HTML encoding issue with DropDownList and standard prevalue type

    Steps to reproduce

    1. Add a form with a field type of DropDownList.

    2. Set the prevalue type to standard.

    3. Add an item with a special character such as & or <.

    Problem

    When viewing a page that contains the form, items in the DropDownList are double-encoded. E.g. "this & that" becomes "this &amp; that".

    Am I doing something wrong or is this a bug?

    I can work around it for now by creating a custom field type that escapes the prevalue.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 30, 2010 @ 08:24
    Tim Geyssens
    0

    Thanks for reporting this, it definitely sounds like a bug. I'll log this in our issue tracker and hopefully it will be gone in the next maintenance release.

    /tim

  • 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