ImpressPages 4.x HTTPS getUrl BUG

时间:2014-08-14 17:49:07

标签: php impresspages

我们在亚马逊上使用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") {

0 个答案:

没有答案