From 6381f19f1a8dcd1844036b64366509b37eaff99c Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sat, 12 Oct 2024 07:44:04 +0000 Subject: [PATCH] otf --- application/controllers/Widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Widgets.php b/application/controllers/Widgets.php index 89d5375d7..4bf1fa2e0 100644 --- a/application/controllers/Widgets.php +++ b/application/controllers/Widgets.php @@ -55,14 +55,14 @@ class Widgets extends CI_Controller { return; } - $slug = $this->security->xss_clean($this->input->get('slug')); + $slug = $this->input->get('slug', TRUE); if ($slug != null) { $data['logo_url'] = base_url() . 'index.php/visitor/' . $slug; } else { $data['logo_url'] = 'https://github.com/wavelog/wavelog'; } - $theme = $this->security->xss_clean($this->input->get('theme')); + $theme = $this->input->get('theme', TRUE); if ($theme != null) { $data['theme'] = $theme; } else {