Encoded Characters and Mod_Rewrite
Encoded Characters and Mod_Rewrite
- Subject: Encoded Characters and Mod_Rewrite
- From: Johnny Miller <email@hidden>
- Date: Tue, 08 Nov 2011 11:08:36 -1000
Hi,
OK, next problem. Suppose you have a string link "A & B" which gets url encoded to "A+&+B".
If you are using the string in a url like /cgi-bin/SomeApp.woa/wa/someAction?string=A+&+B you can get the right value by using WORequest.stringFormValueForKey
But if you are using mod rewrite to do something like /action/A+&+B you don't get the right value because the rewrite escapes & to &
Does anybody happen to know off hand how to tell Apache not to escape the value? I'm on Apache 2 and I've tried using the NE flag but that did not do the trick.
Thanks in advance,
|
_______________________________________________
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