diff options
-rw-r--r-- | config/apache_mod_security/apache_mod_security.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 107e8b4f..a9873a2c 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -219,6 +219,7 @@ EOF; foreach($config['installedpackages']['apachemodsecurity']['config'] as $ams) { // Set rowhelper used variables foreach($ams['row'] as $row) { + // Ensure leading http(s):// if(!strstr($row['additionalsitehostnames'], "http")) $additionalsitehostnames .= "http://"; $additionalsitehostnames .= "{$row['additionalsitehostnames']}"; |