• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
formValueForKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: formValueForKey
      • From: Alexander Spohr <email@hidden>
    • Re: formValueForKey
      • From: Johann Werner <email@hidden>
  • Prev by Date: Re: Development Installer
  • Next by Date: Re: formValueForKey
  • Previous by thread: Reminder: WOCommunity on GitHub
  • Next by thread: Re: formValueForKey
  • Index(es):
    • Date
    • Thread