thanks to POST we can remove url_encoding and prevent issues here

This commit is contained in:
HB9HIL
2024-08-17 00:45:09 +02:00
parent 14433d46cb
commit 05295d1694
2 changed files with 2 additions and 2 deletions

View File

@@ -1185,7 +1185,7 @@ class User extends CI_Controller {
}
// decrypt the hash
$user_id = $this->encryption->decrypt(urldecode($this->input->post('hash', TRUE) ?? ''));
$user_id = $this->encryption->decrypt($this->input->post('hash', TRUE) ?? '');
// make sure the user_id is a number
if (!is_numeric($user_id)) {