Hello,

We are in process of integrating our application with the third party
application and during the auth flow, The wicket is not returning the
correct parameter value when the third party application passes the
parameter value containing = operator.

After doing the initial investigation, i came to know that there is function
in URL class which splits the query parameter key value string based upon
"=" operator which is causing problem. 

/private static QueryParameter parseQueryParameter(final String qp, final
Charset charset)
        {
                if (qp.indexOf('=') == -1)
                {
                        // name => empty value
                        return new QueryParameter(decodeParameter(qp, charset), 
"");
                }

                *String parts[] = Strings.split(qp, '=');*
                return new QueryParameter(decodeParameter(parts[0], charset),
decodeParameter(parts[1],
                        charset));
        }/

It would be really helpful if some one can suggest me the resolution for
this issue. It is not possible for us to ask third party application for
encoding the URL parameters, we have to do something at our end only.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URL-params-parsing-issue-if-param-value-contain-tp4651238.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to