bug 1043: Remove checks for the stamp.cacert.org host
authorBenny Baumann <BenBE@geshi.org>
Tue, 6 Jan 2015 21:22:29 +0000 (22:22 +0100)
committerBenny Baumann <BenBE@geshi.org>
Tue, 6 Jan 2015 21:22:29 +0000 (22:22 +0100)
includes/general.php

index 17b449b..2b31fc6 100644 (file)
@@ -47,8 +47,7 @@
        if(array_key_exists('HTTP_HOST',$_SERVER) &&
                        $_SERVER['HTTP_HOST'] != $_SESSION['_config']['normalhostname'] &&
                        $_SERVER['HTTP_HOST'] != $_SESSION['_config']['securehostname'] &&
-                       $_SERVER['HTTP_HOST'] != $_SESSION['_config']['tverify'] &&
-                       $_SERVER['HTTP_HOST'] != "stamp.cacert.org")
+                       $_SERVER['HTTP_HOST'] != $_SESSION['_config']['tverify'])
        {
                if(array_key_exists('HTTPS',$_SERVER) && $_SERVER['HTTPS'] == "on")
                        header("location: https://".$_SESSION['_config']['normalhostname']);