From 61f25b53f21790507812434b026d82c25b74b859 Mon Sep 17 00:00:00 2001 From: Philipp Batroff Date: Fri, 13 May 2022 17:14:55 +0200 Subject: [PATCH] Add qid to valid parameter list for opening tracking --- proxy/open.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proxy/open.php b/proxy/open.php index bbd9b22..c4e1200 100644 --- a/proxy/open.php +++ b/proxy/open.php @@ -17,7 +17,10 @@ if (!$target_open) civiproxy_http_error("Feature disabled", 405); civiproxy_security_check('open'); // basic restraints -$valid_parameters = array( 'q' => 'int' ); +$valid_parameters = [ + 'q' => 'int', + 'qid' => 'int', +]; $parameters = civiproxy_get_parameters($valid_parameters); civiproxy_redirect($target_open, $parameters);