diff options
author | Wes Baker <wes@wesbaker.com> | 2013-07-08 23:22:21 +0200 |
---|---|---|
committer | Wes Baker <wes@wesbaker.com> | 2013-07-08 23:22:21 +0200 |
commit | c5f99fdcc5c4a918b5b8fe3ddbd56ab25ad1c22b (patch) | |
tree | 9078f2e847bee8adab51598e6a3e08e6e325dc38 /application | |
parent | 4c866e0b911fcc82cf49b317178788ce3c319bd4 (diff) |
Updating User Guide for 2.1.4.
Diffstat (limited to 'application')
-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 */ |