Add qid to valid parameter list for opening tracking

This commit is contained in:
Philipp Batroff 2022-05-13 17:14:55 +02:00
parent ecc6eebfb0
commit 61f25b53f2
1 changed files with 4 additions and 1 deletions

View File

@ -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);