Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4734

Button value is double escaped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.7
    • 6.1.0, 1.5.9
    • wicket
    • None

    Description

      When the model property of a Button contains html entities (e.g. single quotes), these characters are double escaped: in Button.onComponentTag (getDefaultModelObjectAsString) and in ComponentTag.writeOutput

      Attachments

        1. double-escaping.tar.gz
          3 kB
          Pieter Vandepitte
        2. WICKET-4734.patch
          1 kB
          Andrea Del Bene

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              pvandepitte Pieter Vandepitte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: