Re: RedirectMatch escaping AMP ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could someone help me where the & is comming from ? I’ve tried RewriteRules and the outcome is the same.

Thanks !


On 18 May 2018, at 11:28, David Tkacik <dtkacik@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hello Guys,

I have a condition like this:

RedirectMatch ^/g/(.*) https://www.${APACHE_HOSTNAME}/folder1/?ec=$1&ea=EBH&el=GCC

So when I do CURL to that virtualhost running that condition like this https://www.example.com/g/1234

it gives me back this:

https://www.example.com/folder1/?ec=1234&amp;ea=EBH&amp;el=GCC

Is there a way to escape this ? Why it's substituting the "&amp ;" ?

Many Thanks !

David


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux