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] RedirectMatch escaping AMP ?
Date Fri, 18 May 2018 10:28:28 GMT
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