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

AbstractAjaxTimerBehavior should escape the quotes for the code that it schedules to execute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.6
    • 1.5.7
    • wicket
    • None

    Description

      The callback script in org.apache.wicket.ajax.AbstractAjaxTimerBehavior#getJsTimeoutCall() may be extended/replaced with user provided one that contains single or double quotes and in the case when double quotes are used they will break the final generated JavaScript for the timer.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: