httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tkacik <dtka...@healthcoachinstitute.com>
Subject [users@httpd] Re: RedirectMatch escaping AMP ?
Date Fri, 18 May 2018 12:00:58 GMT
Could someone help me where the &amp; is comming from ? I’ve tried RewriteRules and the
outcome is the same.

Thanks !


> On 18 May 2018, at 11:28, David Tkacik <dtkacik@healthcoachinstitute.com> wrote:
> 
> Hello Guys,
> 
> I have a condition like this:
> 
> RedirectMatch ^/g/(.*) https <https://www.${apache_hostname}/folder1/?ec=$1&ea=EBH&el=GCC>:
<https://www.${apache_hostname}/folder1/?ec=$1&ea=EBH&el=GCC>//www.${APACHE_HOSTNAME}/folder1/?ec=$1&ea=EBH&el=GCC
<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
<https://www.example.com/g/1234>
> it gives me back this:
> 
> https://www.example.com/folder1/?ec=1234&amp;ea=EBH&amp;el=GCC <http://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


Mime
View raw message