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

                 Key: WICKET-2339
                 URL: https://issues.apache.org/jira/browse/WICKET-2339
             Project: Wicket
          Issue Type: Bug
         Environment: wicket trunk
            Reporter: Martin Funk


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to