I have an virtual host that is redirecting all requests from port 80 to 443. However, when doing this when there is an email in the url, for example http://foo.tld/bar.php?email=User%40domain.tld gets redirected to https://foo.tld/bar.php?email=User%2540domain.tld which tends to be a problem. I understand that %25 == % so I get why it's rewriting the url. Is there something I am missing or do I have to do some further redirects to prevent them from getting rewritten?
What I currently have on my *:80 hosts is the following and nothing more: