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: RewriteRule ^(.*)$ https://www.domain.tld/$1 -- Jared Griffith Linux Administrator, PICS, Inc. P: (949) 936-4574 C: (909) 653-7814 *The Contractors' Choice **17701 Cowan #140 | Irvine, CA | 92614 * Join PICS on LinkedIn! <http://www.linkedin.com/company/pics-inc>