Mmm - unfortunately I am not building the URL myself - this 
is being done by the DatabaseXXXAction (add,update et al)
which are provided as part of the Cocoon package.

Any idea how I go about requesting an update to this functionality?

Thanks
Derek

>>> [EMAIL PROTECTED] 25/02/2002 11:03:16 >>>
On Monday 25 February 2002 08:33, Derek Hohls wrote:
>. . .
> I need to pass the field data in a request parameter BUT I have
> noticed problems 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...

Funny, AFAIK '+' in an URL is the escape sequence for a space, so 

?value1=ab+cd&value2=xyz

should translate to 
value1="ab cd"
value2="xyz"

But anyway, if you're building an URL yourself to pass request values,

you should URLencode these values, using for example the 
java.net.URLEncoder class.

-Bertrand

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to