[Lookup] Change SCP lookup from GET to POST

stops memory leaks when searching callsigns like i/4o4a
This commit is contained in:
Peter Goodhall
2023-07-08 13:38:28 +01:00
parent d5a30f97b0
commit ecda88f240
3 changed files with 28 additions and 13 deletions

View File

@@ -53,10 +53,9 @@ class Lookup extends CI_Controller {
$this->load->view('lookup/result', $data);
}
public function scp($call) {
if($call) {
$uppercase_callsign = strtoupper($call);
public function scp() {
if($_POST['callsign']) {
$uppercase_callsign = strtoupper($_POST['callsign']);
}
// SCP results from logbook