diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-08-09 18:38:08 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-08-09 18:38:08 +0200 |
commit | 38638976e64fbacbde7a75ef7afa65a8ded938fd (patch) | |
tree | 415a52f1820a47e3d97c90b58b3b315868e9cb9e /www-apps/cgp/files | |
parent | app-misc/kryoflux-dtc: update kryoflux ui (diff) | |
download | gentoo-38638976e64fbacbde7a75ef7afa65a8ded938fd.tar.gz gentoo-38638976e64fbacbde7a75ef7afa65a8ded938fd.tar.bz2 gentoo-38638976e64fbacbde7a75ef7afa65a8ded938fd.zip |
www-apps/cgp: bump to newest snapshot
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'www-apps/cgp/files')
-rw-r--r-- | www-apps/cgp/files/cgp-1_p20190510-double-quote.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www-apps/cgp/files/cgp-1_p20190510-double-quote.patch b/www-apps/cgp/files/cgp-1_p20190510-double-quote.patch new file mode 100644 index 000000000000..1cfa7f9898d3 --- /dev/null +++ b/www-apps/cgp/files/cgp-1_p20190510-double-quote.patch @@ -0,0 +1,23 @@ +From aec5ed41122b1a900c6fe0a3ddc11656c150b6d5 Mon Sep 17 00:00:00 2001 +From: Conrad Kostecki <conrad@kostecki.com> +Date: Tue, 24 Sep 2019 00:01:59 +0200 +Subject: [PATCH] inc/functions.inc.php: add double quote for whitelist + +Signed-off-by: Conrad Kostecki <conrad@kostecki.com> +--- + inc/functions.inc.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/functions.inc.php b/inc/functions.inc.php +index 376b6e1..48336fb 100644 +--- a/inc/functions.inc.php ++++ b/inc/functions.inc.php +@@ -34,7 +34,7 @@ function GET($index = NULL, $value = NULL) { + case 'h': # host + case 'pi': # plugin instance + case 'ti': # type instance +- if (!preg_match('/^[\w\-.: ]+$/u', $value)) { ++ if (!preg_match('/^[\w\-.:" ]+$/u', $value)) { + error_log(sprintf('Invalid %s in $_GET["%s"]: "%s"', $desc[$index], $index, $value)); + return NULL; + } |