mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
xss_cleaned some more GET inputs
This commit is contained in:
@@ -180,8 +180,8 @@ class Lookup extends CI_Controller {
|
||||
public function get_county() {
|
||||
$json = [];
|
||||
|
||||
if(!empty($this->input->get("query"))) {
|
||||
$county = $this->input->get("state");
|
||||
if(!empty($this->security->xss_clean($this->input->get("query")))) {
|
||||
$county = $this->security->xss_clean($this->input->get("state"));
|
||||
$cleanedcounty = explode('(', $county);
|
||||
$cleanedcounty = trim($cleanedcounty[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user