[Quick lookup] Added xss_clean to input.

pull/937/head
Andreas 2021-03-14 11:50:21 +01:00
rodzic 681cd0af9b
commit 850b00447a
1 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -31,13 +31,13 @@ class Lookup extends CI_Controller {
$CI->load->model('Stations');
$station_id = $CI->Stations->find_active();
$type = $this->input->post('type');
$dxcc = $this->input->post('dxcc');
$was = $this->input->post('was');
$cqz = $this->input->post('cqz');
$sota = $this->input->post('sota');
$grid = $this->input->post('grid');
$iota = $this->input->post('iota');
$type = xss_clean($this->input->post('type'));
$dxcc = xss_clean($this->input->post('dxcc'));
$was = xss_clean($this->input->post('was'));
$cqz = xss_clean($this->input->post('cqz'));
$sota = xss_clean($this->input->post('sota'));
$grid = xss_clean($this->input->post('grid'));
$iota = xss_clean($this->input->post('iota'));
$this->load->model('lookup_model');