diff options
author | Andrey Andreev <narf@devilix.net> | 2014-12-05 11:03:42 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-12-05 11:03:42 +0100 |
commit | 82358c1f2ce5117a21e90f6ec96400535c5f4eed (patch) | |
tree | 72a4862b3b31a0fb04548e503613d078f0522ec1 | |
parent | bfa233f559a50ee0674a209fa56f866edc814fd9 (diff) |
Fix a filter_uri() test
-rw-r--r-- | tests/codeigniter/core/URI_test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codeigniter/core/URI_test.php b/tests/codeigniter/core/URI_test.php index adb62f6cb..50663d54a 100644 --- a/tests/codeigniter/core/URI_test.php +++ b/tests/codeigniter/core/URI_test.php @@ -135,7 +135,8 @@ class URI_test extends CI_TestCase { $this->uri->config->set_item('enable_query_strings', FALSE); $this->uri->_set_permitted_uri_chars('a-z 0-9~%.:_\-'); - $this->uri->filter_uri('$this()'); + $segment = '$this()'; // filter_uri() accepts by reference + $this->uri->filter_uri($segment); } // -------------------------------------------------------------------- |