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

Fix : testSignIn2(org.apache.wicket.examples.signin2.Signin2Test)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4-RC5
    • None
    • None
    • None
    • wicket trunk

    Description

      MockHttpServletRequest is broken when used with CryptedUrlWebRequestCodingStrategy

      MockHttpServletRequest.getQueryString() line: 714 returns the QueryString like this: (in the specific Test Case of SignIn2Test)

      username=wicket&password=wicket&rememberMeRow:rememberMe=true&x=6*:1:signInPanel:signInForm::IFormSubmitListener::

      CryptedUrlWebRequestCodingStrategy decodeURL(final String url) cant read that

      it expexts the paramter 'x=' at the very beginning of the QueryString of the URL.

      sorry no patch file.
      (in my current mood I'd throw the CryptedUrlWebRequestCodingStrategy away)

      mf

      Attachments

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              funkattack Martin Funk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: