我们在亚马逊上使用ImpressPages 4.1.1,而某些IP核心文件需要FIX,因为该字符串区分大小写且亚马逊返回$_SERVER['HTTPS'] = "On"
:
BUG:
C:\wamp\www\bazaar\Codigos\site2\Ip\Request.php (2 hits)
Line 116: return (isset($this->_SERVER["HTTPS"]) && $this->_SERVER["HTTPS"] == "on");
Line 199: if (isset($this->_SERVER["HTTPS"]) && $this->_SERVER["HTTPS"] == "on") {
FIX:
C:\wamp\www\bazaar\Codigos\site2\Ip\Request.php (2 hits)
Line 116: return (isset($this->_SERVER["HTTPS"]) && strtolower($this->_SERVER["HTTPS"]) == "on");
Line 199: if (isset($this->_SERVER["HTTPS"]) && strtolower($this->_SERVER["HTTPS"]) == "on") {
SAME BUG IN:
C:\wamp\www\bazaar\Codigos\site2\Ip\Config.php (1 hit)
Line 68: if (isset($server['HTTPS']) && $server['HTTPS'] == "on") {
AND:
C:\wamp\www\bazaar\Codigos\site2\Ip\Internal\UrlHelper.php (1 hit)
Line 18: if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {