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

MockHttpServletRequest#setURL(String url) does not respect protocol, domain and port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5-RC5.1
    • 1.5-RC6
    • wicket
    • None

    Description

      when MockHttpServletRequest#setURL(String url) receives an absolute url like

      https://backend1.domain.org:1234/home

      it does not invoke

      • setServerName("backend1.domain.org")
      • setServerPort(1234)
      • setScheme("https")

      but just set the relative url.

      Attachments

        Activity

          People

            pete Peter Ertl
            pete Peter Ertl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: