• 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: Encoded Characters and Mod_Rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoded Characters and Mod_Rewrite


  • Subject: Re: Encoded Characters and Mod_Rewrite
  • From: Miguel Arroz <email@hidden>
  • Date: Tue, 08 Nov 2011 13:48:31 -0800

Hi,

  http://terminalapp.net/avoid-escaping-urls-in-apache-rewrite-rules/

  Regards,

Miguel Arroz

On 2011-11-08, at 1:08 PM, Johnny Miller wrote:

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,

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com




 _______________________________________________
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: Encoded Characters and Mod_Rewrite
      • From: Johnny Miller <email@hidden>
References: 
 >Encoded Characters and Mod_Rewrite (From: Johnny Miller <email@hidden>)

  • Prev by Date: Encoded Characters and Mod_Rewrite
  • Next by Date: Re: Encoded Characters and Mod_Rewrite
  • Previous by thread: Encoded Characters and Mod_Rewrite
  • Next by thread: Re: Encoded Characters and Mod_Rewrite
  • Index(es):
    • Date
    • Thread