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 &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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/krank%40logicunited.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to