summaryrefslogtreecommitdiffstats
path: root/src/Router/Runner/Controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Router/Runner/Controller.php')
-rw-r--r--src/Router/Runner/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Router/Runner/Controller.php b/src/Router/Runner/Controller.php
index f230cb9..eb26ecd 100644
--- a/src/Router/Runner/Controller.php
+++ b/src/Router/Runner/Controller.php
@@ -75,7 +75,7 @@ class Controller extends Runner
{
return preg_replace_callback('/(?:^|(\w)-)(\w)/', function($match) {
return $match[1] . strtoupper($match[2]);
- }, strtolower($string));
+ }, strtolower(addcslashes($string, '\\')));
}
/**