Re: WO 5.3.x & workaround?
Re: WO 5.3.x & workaround?
- Subject: Re: WO 5.3.x & workaround?
- From: Anjo Krank <email@hidden>
- Date: Tue, 22 Apr 2008 07:10:05 +0200
Maybe override app.createRequest():
return super.createRequest(..., url.replaceAll("&", ""), ...)
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&errorMessage=Invalid+login+or
+password
Obviously, I'd like to change the & 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