Thanks for the reply, should I file a bug report for this or are you more qualified for doing that :) ?
Thanks, Ryan On 29/11/2011 10:24 AM, joshcanfield [via Tapestry] wrote: > Looks like a defect, not sure if it's been filed yet. > > ActivationRequestParameterWorker isn't encoding the client value > returned by the ValueEncoder. > > String clientValue = encoder.toClient(value); > > link.addParameter(parameterName, clientValue); > > addParameter is documented as not doing the encoding (I'm guessing > legacy oversight that would cause too much grief to fix for code > already working around it) > > /** > * Adds a parameter value. The value will be added, as is, to the URL. > In many cases, the value should be URL > * encoded via {@link URLCodec}. > * ... > > > > Josh > > > On Sat, Nov 26, 2011 at 3:50 AM, Kartweel <[hidden email] > </user/SendEmail.jtp?type=node&node=5030922&i=0>> wrote: > > > Hi, I have a situation where my ActivationRequestParameter has an & > symbol in > > it. This doesn't seem to get encoded when it is attached to the query > > string. When it gets submitted back to tapestry everything after the > & is > > just truncated (because obviously after the & it thinks a new > parameter is > > starting). I'm assuming this is a bug ? I would have expected > tapestry to > > handle it automatically... > > > > For now I can get around it by doing a URLEncoder.encode on it when > I set > > it. The funny thing is that it seems to automatically decode by itself, > > because I never actually decode it. So I need to manually encode it for > > every response. > > > > Thanks, Ryan > > > > > > -- > > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-3-ActivationRequestParameter-not-encoding-to-be-URL-friendly-tp5024732p5024732.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=5030922&i=1> > > For additional commands, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=5030922&i=2> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=5030922&i=3> > For additional commands, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=5030922&i=4> > > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://tapestry.1045711.n5.nabble.com/T5-3-ActivationRequestParameter-not-encoding-to-be-URL-friendly-tp5024732p5030922.html > > > To unsubscribe from [T5.3] @ActivationRequestParameter not encoding to > be URL friendly, click here > <http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5024732&code=cmhvd0BleGVtYWlsLmNvbS5hdXw1MDI0NzMyfDE5MTMyMDEzNjQ=>. > NAML > <http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-ActivationRequestParameter-not-encoding-to-be-URL-friendly-tp5024732p5030928.html Sent from the Tapestry - User mailing list archive at Nabble.com.