cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: RE: Passing a '+' in a request parameter?
Date Mon, 25 Feb 2002 14:49:36 GMT
Thanks - how/where would I go about doing this,
bearing in mind I am using the DatabaseAddAction
which basically creates these parameters for me, based
on a form submission (see the samples in the Cocoon
Welcome  - Sample Forms section).

Derek

>>> swee.heng@mysun.com 25/02/2002 03:04:23 >>>
hi,

you can try to escape the + plus by using %2B

?value1=ab%2Bcd&value2=xyz

hope this will help.

sweeheng

----- Original Message -----
From: "Varada" <varada_thakur@e2econnect.net>
Date: Monday, February 25, 2002 3:56 pm
Subject: RE: Passing a '+' in a request parameter?

> 
> hi
> 
> u problem of plus sign be solved. Before sending the data u parse
the
> database field to check for plus and replace it with some character
> sequence.
> Or just a guess ... can't u send ++ (i.e. two consecutive plus 
> sign) for
> single plus sign.
> 
> regards
> 
> I have data that I am reading from a database field (problematic 
> at the
> best of times);
> I need to pass the field data in a request parameter BUT I have 
> noticedproblems when
> one of the fields contains a '+'.  In other words, an attempt
request
> such as:
> 
> ?value1=ab+cd&value2=xyz
> 
> is shown as
> 
> ?value1=ab+cd
> 
> and do loses the the second value because the '+' seems to be 
> acting as
> a separator of sorts...
> 
> Does anyone know how to overcome this (bearing in mind that I do not
> want to change
> the + in the field itself...)
> 
> Thanks
> Derek
> 
> -------------------------------------------------------------------
> --
> Please check that your question has not already been answered in the
> FAQ before posting. <" 
> target="l">http://xml.apache.org/cocoon/faqs.html>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> -------------------------------------------------------------------
> --
> Please check that your question has not already been answered in the
> FAQ before posting. <" 
> target="l">http://xml.apache.org/cocoon/faqs.html>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message