• 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
Re: WO 5.3.x &amp workaround?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO 5.3.x &amp workaround?


  • Subject: Re: WO 5.3.x &amp workaround?
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 22 Apr 2008 07:10:05 +0200

Maybe override app.createRequest():

return super.createRequest(..., url.replaceAll("&amp;", ""), ...)

Cheers, Anjo

Am 22.04.2008 um 06:55 schrieb Joe Moreno:

Hi all,

Does anyone have a generic workaround for WO 5.3.x to prevent ampersands from getting escaped on R/R loop direct actionURLs?

I have a page which is sometimes returned as a session-less based direct action and sometimes it's returned as a session based direct action with a wosid on the URL.

In the latter case, the URL looks like this:
....MyWOApp.woa/wa/loginPage? wosid=V7HO3tAja0qE0HYoDyxZiw&amp;errorMessage=Invalid+login+or +password


Obviously, I'd like to change the &amp to just &. My current workaround is:
String errorMessage1 = (String) this.context().request().formValueForKey("errorMessage");
String errorMessage2 = (String) this.context().request().formValueForKey("amp;errorMessage");


Thanks,
Joe
_______________________________________________
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

_______________________________________________ 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: WO 5.3.x &amp workaround?
      • From: Anjo Krank <email@hidden>
References: 
 >WO 5.3.x &amp workaround? (From: Joe Moreno <email@hidden>)

  • Prev by Date: WO 5.3.x &amp workaround?
  • Next by Date: Re: WO 5.3.x &amp workaround?
  • Previous by thread: WO 5.3.x &amp workaround?
  • Next by thread: Re: WO 5.3.x &amp workaround?
  • Index(es):
    • Date
    • Thread