From ef0974e763ef48c38226057618867aa35823ede8 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 23 Dec 2025 21:01:46 +0100 Subject: [PATCH] Some xssclean --- application/controllers/Map.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/application/controllers/Map.php b/application/controllers/Map.php index a083b374a..86a23f982 100644 --- a/application/controllers/Map.php +++ b/application/controllers/Map.php @@ -6,7 +6,6 @@ class Map extends CI_Controller { function __construct() { parent::__construct(); - $this->load->helper(array('form', 'url', 'psr4_autoloader')); $this->load->model('user_model'); if (!$this->user_model->authorize(2)) { @@ -57,9 +56,9 @@ class Map extends CI_Controller { public function get_qsos_for_country() { $this->load->model('Map_model'); $this->load->library('Geojson'); - $country = $this->input->post('country'); - $dxcc = $this->input->post('dxcc'); - $station_id = $this->input->post('station_id'); + $country = $this->input->post('country', true); + $dxcc = $this->input->post('dxcc', true); + $station_id = $this->input->post('station_id', true); if (empty($country)) { while (ob_get_level()) ob_end_clean();