On Fri, Jun 21, 2013 at 6:27 AM, iamrakesh <[email protected]>wrote:
> Hi, > > I am using Wicket 6.5.0 and I am trying to use CryptoMapper in my > application and URLs in my application look something like the one given > below > > > http://localhost:8080/myTest/?wicket:interface=:2:contentPanel:layout:entryPanel:layoutButtonPanel:actionButtonTitleHolder:actionButton::ILinkListener > :: > This Url is produced by Wicket 1.4 or older > > These URLs are not encoded and when I check the CryptoMapper implementation > it checks for segment count and encodes only segments. I remember in 1.5.x > version it also used to check if query string is empty along with segments > empty to decide not to encode, some thing like below > > if ((url.getSegments().isEmpty() && url.getQueryParameters().isEmpty())) { > return url; } > > but in the v6.5.0 it is like > > if (url.getSegments().isEmpty()) { return url; } > > was there any reason to change the implementation? > If I've to encode my URLs like the sample given above, how can I do it? > > Regards, > Rakesh.A > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-not-encoding-query-string-Wicket-6-5-0-tp4659643.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] > >
