i am guessing "." is a special char in hybrid strategy so it should escape it. a patch would be welcome, and at least a jira issue.
-igor On Wed, May 13, 2009 at 4:09 PM, Ryan McKinley <ryan...@gmail.com> wrote: > any thoughts? thanks > > > On May 7, 2009, at 4:04 PM, Ryan McKinley wrote: > >> I'm using the HybridUrlCodingStrategy and ran into a glitch when I have >> parameter values that include the character "." >> >> For example, if I make a link with: >> params.add( "p", "Hello 2.01.00" ) >> >> This creates a link to: >> http://host/context/path/p/Hello%202.01.00 >> >> and then that gets redirected to: >> http://host/context/path/p/Hello%202.${page version here} >> >> and the parameter value is lost. >> >> Things work fine if I escape "." with "%2E": >> http://host/context/path/p/Hello%202%2E01%2E00 >> >> I'm trying to follow the parameter setting code to where it actually does >> the escaping with little success. What would be the recommended way to get >> around this limitation? Is it something that should be fixed for >> HybridUrlCodingStrategy in general? >> >> thanks >> ryan > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org