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

non-relative redirects do not work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.7, 6.0.0-beta2
    • 1.5.8, 6.0.0-beta3
    • wicket
    • None

    Description

      wicket-ajax-jquery.js
      in processAjaxResponse:

      // support/check for non-relative redirectUrl like as provided and needed in a portlet context
      if (redirectUrl.charAt(0) === ('/') || redirectUrl.match("^http://") === "http://" || redirectUrl.match("^https://") === "https://") {

      ==> match function returns an array !!

      absolute redirect urls like e.g. 'http://www.google.de' are not recognized

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            aschmidt Alexander Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: