summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2017-12-11 22:54:08 +0100
committermax.bra2017-12-11 22:54:08 +0100
commitafb658b899e6b11a9db6db93b6233f5f49af0b3a (patch)
treead54fdf204a29643cb67b78766e4752e06df5d7c
parentf5a9e715ebd79c44f3003f128af61c0352088088 (diff)
downloadaur-afb658b899e6b11a9db6db93b6233f5f49af0b3a.tar.gz
removed old file
-rw-r--r--issue_1598.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/issue_1598.patch b/issue_1598.patch
deleted file mode 100644
index aefaaf06f7d4..000000000000
--- a/issue_1598.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9934f505a5c717d39167f705a818b25e8cdfda5a Mon Sep 17 00:00:00 2001
-From: Molikuner <molikuner@gmail.com>
-Date: Thu, 13 Jul 2017 23:18:40 +0200
-Subject: [PATCH] Fix URL extension parsing
-
-when there is a querystring Pi-hole sometimes parsed a wrong extension
----
- advanced/index.php | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/advanced/index.php b/advanced/index.php
-index 1dd5acc77..2facd144b 100644
---- a/advanced/index.php
-+++ b/advanced/index.php
-@@ -21,8 +21,9 @@ function validIP($address){
- }
-
- // Retrieve server URI extension (EG: jpg, exe, php)
-+// strtok($uri, '\?') splits the querystring from the path (if there is a querystring)
- ini_set('pcre.recursion_limit',100);
--$uriExt = pathinfo($uri, PATHINFO_EXTENSION);
-+$uriExt = pathinfo(strtok($uri,'\?'), PATHINFO_EXTENSION);
-
- // Define which URL extensions get rendered as "Website Blocked"
- $webExt = array('asp', 'htm', 'html', 'php', 'rss', 'xml'); \ No newline at end of file