Add qid to valid parameter list for opening tracking
This commit is contained in:
parent
ecc6eebfb0
commit
61f25b53f2
|
|
@ -17,7 +17,10 @@ if (!$target_open) civiproxy_http_error("Feature disabled", 405);
|
||||||
civiproxy_security_check('open');
|
civiproxy_security_check('open');
|
||||||
|
|
||||||
// basic restraints
|
// basic restraints
|
||||||
$valid_parameters = array( 'q' => 'int' );
|
$valid_parameters = [
|
||||||
|
'q' => 'int',
|
||||||
|
'qid' => 'int',
|
||||||
|
];
|
||||||
|
|
||||||
$parameters = civiproxy_get_parameters($valid_parameters);
|
$parameters = civiproxy_get_parameters($valid_parameters);
|
||||||
civiproxy_redirect($target_open, $parameters);
|
civiproxy_redirect($target_open, $parameters);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue