Am 01.09.2011 um 18:20 schrieb Gino Pacitti:
> The '+' symbol here:
>
> 3CC0hsl3LP0e4ruLa+icqdcIKDe9nNhNU9...
> seems to be replaced with a space:
> 3CC0hsl3LP0e4ruLa icqdcIKDe9nNhNU9...
>
> Any ideas why formValueForKey does this?
Because a + in an URL is a pl
C0hsl3LP0e4ruLa+icqdcIKDe9nNhNU9Iw6vcBz1t02W2ONiG9I5DvBiiVFg97PiOODXynoFldtkJETPjPeQyRU21lX8eXNdtYVbSYHs4=
>
> When it arrives I get this:
>
> String encryptedwithKeys = (String)this.request().formValueForKey("crypt");
> System.out.println("encryptedwithKeys " + new Str
().formValueForKey("crypt");
System.out.println("encryptedwithKeys " + new
String(encryptedwithKeys));
3CC0hsl3LP0e4ruLa
icqdcIKDe9nNhNU9Iw6vcBz1t02W2ONiG9I5DvBiiVFg97PiOODXynoFldtkJETPjPeQyRU21lX8eXNdtYVbSYHs4
=
The '+' symbol here:
3CC0hsl3LP0e4ruLa+icqdcIKDe9n
hen I try to read the above
user input using following api:
context().request().formValueForKey("qin")
following data is returned by above API: jiménez
"Can any one advise me how to exactly decode the user input in the
WebObjects, encoded by encodeURI javascript function."
().request().formValueForKey("qin")
following data is returned by above API: jiménez
"Can any one advise me how to exactly decode the user input in the WebObjects,
encoded by encodeURI javascript function." I have checked the WORequest API and
googled but could not find