Wicket
  1. Wicket
  2. WICKET-642

Need to escape select html option value

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.4, 1.2.5, 1.2.6, 1.3.0-beta1
    • Fix Version/s: 1.2.7, 1.3.0-rc1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Any OS , tomcat server

      Description

      Versions affectec : My version of wicket is 1.2.4 .However it is present even in the trunk as well.

      Currently if option value contains double quotes in a dropdown choice,
      the value got on the server side is empty string.

      The method appendOptionHtml of AbstactChoice class does not
      escape markup for option values as it does for display values.

        Activity

        swaroop belur created issue -
        Juergen Donnerstag made changes -
        Field Original Value New Value
        Assignee Johan Compagner [ jcompagner ]
        Eelco Hillenius made changes -
        Fix Version/s 1.3.0-beta5 [ 12312818 ]
        Johan Compagner made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Martijn Dashorst made changes -
        Fix Version/s 1.2.7 [ 12312468 ]

          People

          • Assignee:
            Johan Compagner
            Reporter:
            swaroop belur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development