diff options
author | Michal Čihař <michal@cihar.com> | 2015-07-02 10:32:32 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2015-07-02 10:32:32 +0300 |
commit | 3ae994d8302482e0bf62c0aae2c482f0a6ac04b2 (patch) | |
tree | 34d68f70aa3e8b2339a40dc6446e570e1e555a5d | |
parent | d7682c05e5b5156575d3b4313907e597b01d464d (diff) |
Use case insensitive header comparing
Maybe we should not compare the text part at all, but let's keep it this
way for now.
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | libraries/Config.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Config.class.php b/libraries/Config.class.php index 133e7b2ba7..82a17bfc64 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -810,7 +810,7 @@ class PMA_Config 0, strlen($httpNotFound) ); - if ($httpNOK === $httpNotFound) { + if (strcasecmp($httpNOK, $httpNotFound) === 0) { return false; } return null; |