Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Partners
CiviCooP
Article 19
CiviProxy
Commits
d4566bb7
Commit
d4566bb7
authored
May 13, 2022
by
jaapjansma
Browse files
Fix for
https://issues.civicoop.org/issues/9198
parent
7ed7f0a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxy/open.php
View file @
d4566bb7
...
...
@@ -20,4 +20,9 @@ civiproxy_security_check('open');
$valid_parameters
=
array
(
'q'
=>
'int'
,
'qid'
=>
'int'
);
$parameters
=
civiproxy_get_parameters
(
$valid_parameters
);
if
(
isset
(
$parameters
[
'q'
])
&&
!
isset
(
$parameters
[
'qid'
]))
{
$parameters
[
'qid'
]
=
$parameters
[
'q'
];
unset
(
$parameters
[
'q'
]);
}
civiproxy_redirect
(
$target_open
,
$parameters
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment