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.
diff --git a/system/application/config/config.php b/system/application/config/config.php
index a02fed1..72d3819 100644
--- a/system/application/config/config.php
+++ b/system/application/config/config.php
@@ -123,7 +123,7 @@
| 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~%.:_\-';
/*