summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a32e7c9)
raw | patch | inline | side by side (parent: a32e7c9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Nov 2009 14:53:54 +0000 (14:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Nov 2009 14:53:54 +0000 (14:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14735 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc
index 926355a19819d00246a872652d6b88c99e671a18..bbb6f98ea15f7bd20121675f10eaa206c8531011 100644 (file)
}
foreach( array("year", "month", "search_for", "search_base","selected_server") as $type){
if (isset($_POST[$type])){
- $this->$type= $_POST[$type];
+ $this->$type= get_post($type);
}
}
}
/* remove unwanted tags */
- $this->search_for = stripslashes(preg_replace("/[^0-9a-z\*\+ \-]/i","",$this->search_for));
+ $this->search_for = stripslashes(preg_replace("/[^0-9a-z\*\+ \-\/]/i","",$this->search_for));
foreach($this->attributes_SO as $name){
$fonfilter[$name] = $this->$name;
$smarty->assign("plug", "?plug=".validate($_GET['plug']));
$smarty->assign("launchimage", get_template_path('images/launch.png'));
$smarty->assign("search_image", get_template_path('images/lists/search.png'));
- $smarty->assign("search_for", $this->search_for);
+ $smarty->assign("search_for", htmlentities($this->search_for));
$smarty->assign("bases", $bases);
$smarty->assign("base_select", $this->search_base);
$smarty->assign("months", $months);