From 05a37a1ed0e12554e8d4fbd47712434853f7e6b2 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Mon, 18 Feb 2008 20:54:15 +0000 Subject: Escaped the '-' in the default 'permitted_uri_chars' config item, as some developers just want to add characters to the pattern and do not have a good grasp of regular expressions. --- system/application/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/application/config/config.php b/system/application/config/config.php index a02fed142..72d38199c 100644 --- a/system/application/config/config.php +++ b/system/application/config/config.php @@ -123,7 +123,7 @@ $config['subclass_prefix'] = 'MY_'; | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!! | */ -$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-'; +$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; /* -- cgit v1.2.3-24-g4f1b