summaryrefslogtreecommitdiffstats
path: root/phpMyAdmin-pr12741.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-26 16:20:01 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-26 16:20:01 +0100
commitad1604bc1768f3761fcdffea76f8b3e515e4a03e (patch)
tree218a65dba8dc30f72fc510f038546f492b253f4c /phpMyAdmin-pr12741.patch
parent5fa2053c6d069042358fbfddd9ceb3e5f7ddd073 (diff)
phpMyAdmin: add patch from pr#12741
Diffstat (limited to 'phpMyAdmin-pr12741.patch')
-rw-r--r--phpMyAdmin-pr12741.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpMyAdmin-pr12741.patch b/phpMyAdmin-pr12741.patch
new file mode 100644
index 0000000..c095859
--- /dev/null
+++ b/phpMyAdmin-pr12741.patch
@@ -0,0 +1,24 @@
+From 546dda3fdce7ee8d71707a970baf3bfe19afb01f Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Sat, 26 Nov 2016 16:05:07 +0100
+Subject: [PATCH] make PMA_isAllowedDomain case insensitive, fix links on home
+ page
+
+Signed-off-by: Remi Collet <fedora@famillecollet.com>
+---
+ libraries/core.lib.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libraries/core.lib.php b/libraries/core.lib.php
+index cb7161d..1b345d2 100644
+--- a/libraries/core.lib.php
++++ b/libraries/core.lib.php
+@@ -765,7 +765,7 @@ function PMA_isAllowedDomain($url)
+ return false;
+ }
+ }
+- $domain = $arr["host"];
++ $domain = strtolower($arr["host"]);
+ $domainWhiteList = array(
+ /* Include current domain */
+ $_SERVER['SERVER_NAME'],