formValueForKey
formValueForKey
- Subject: formValueForKey
- From: Gino Pacitti <email@hidden>
- Date: Thu, 01 Sep 2011 17:20:23 +0100
Hi All
I have a query string coming in to a direct action:
/someapp.woa/wa/someaction?crypt=3CC0hsl3LP0e4ruLa
+
icqdcIKDe9nNhNU9Iw6vcBz1t02W2ONiG9I5DvBiiVFg97PiOODXynoFldtkJETPjPeQyRU21lX8eXNdtYVbSYHs4
=
When it arrives I get this:
String encryptedwithKeys =
(String)this.request().formValueForKey("crypt");
System.out.println("encryptedwithKeys " + new
String(encryptedwithKeys));
3CC0hsl3LP0e4ruLa
icqdcIKDe9nNhNU9Iw6vcBz1t02W2ONiG9I5DvBiiVFg97PiOODXynoFldtkJETPjPeQyRU21lX8eXNdtYVbSYHs4
=
The '+' symbol here:
3CC0hsl3LP0e4ruLa+icqdcIKDe9nNhNU9...
seems to be replaced with a space:
3CC0hsl3LP0e4ruLa icqdcIKDe9nNhNU9...
Any ideas why formValueForKey does this?
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden