Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2015-07-02 10:32:32 +0300
committerMichal Čihař <michal@cihar.com>2015-07-02 10:32:32 +0300
commit3ae994d8302482e0bf62c0aae2c482f0a6ac04b2 (patch)
tree34d68f70aa3e8b2339a40dc6446e570e1e555a5d
parentd7682c05e5b5156575d3b4313907e597b01d464d (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.php2
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;