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

RedirectPage does not work in IE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.6
    • 1.4.7, 1.5-M1
    • wicket
    • None
    • IE7 or IE8 (probably earlier IE versions as well)

    Description

      The org.apache.wicket.markup.html.pages.RedirectPage rendered in IE results in an "The XML page cannot be displayed" error. When viewing the error in the IE console, you see:

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
      Timestamp: Thu, 4 Feb 2010 18:00:25 UTC

      Message: The server did not understand the request, or the request was invalid.

      Line: 0
      Char: 0
      Code: 0
      URI: http://www.w3.org/TR/html4/loose.dtd

      RedirectPage.java looks identical, but the following line has been added in 1.4.6 (not present in 1.4.5 and earlier) to the RedirectPage.html and seems the likely culprit:
      <?xml version="1.0" encoding="UTF-8" ?>

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            slowery23 Steve Lowery
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: