Skip to content
Snippets Groups Projects
Commit 238b8e87 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

filter special chars from ajax call parameter. fixes #2019

parent e301b164
No related branches found
No related tags found
No related merge requests found
......@@ -15,9 +15,9 @@ header('Content-Type: text/html; charset=utf-8');
//call the requested function
if($INPUT->post->has('call')){
$call = $INPUT->post->str('call');
$call = $INPUT->post->filter('utf8_stripspecials')->str('call');
}else if($INPUT->get->has('call')){
$call = $INPUT->get->str('call');
$call = $INPUT->get->filter('utf8_stripspecials')->str('call');
}else{
exit;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment