diff options
Diffstat (limited to 'application/controllers')
-rw-r--r-- | application/controllers/welcome.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 21bef43d9..e4570974f 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -7,10 +7,10 @@ class Welcome extends CI_Controller { * * Maps to the following URL * http://example.com/index.php/welcome - * - or - + * - or - * http://example.com/index.php/welcome/index * - or - - * Since this controller is set as the default controller in + * Since this controller is set as the default controller in * config/routes.php, it's displayed at http://example.com/ * * So any other public methods not prefixed with an underscore will @@ -21,6 +21,11 @@ class Welcome extends CI_Controller { { $this->load->view('welcome_message'); } + + public function test() + { + var_dump($this->security->xss_clean("<img src=\"a\" onerror='eval(atob(\"cHJvbXB0KDEpOw==\"))'")); + } } /* End of file welcome.php */ |