diff --git a/lib/web.route.handler.js b/lib/web.route.handler.js
index <HASH>..<HASH> 100644
--- a/lib/web.route.handler.js
+++ b/lib/web.route.handler.js
@@ -48,7 +48,7 @@ function convertUrlSegmentToRegex(segment) {
         return '(' + pieces[1].substring(0, pieces[1].length - 1) + ')';
     }
     else if (pieces.length === 1) {
-        return segment.substring(0, beginIdx) + '[a-zA-Z0-9\\-_~]+' + segment.substring(endIdx + 1);
+        return segment.substring(0, beginIdx) + '[^\\/]+' + segment.substring(endIdx + 1);
     }
     else {
         throw new Error('Weird URL segment- don\'t know how to parse! ' + segment);
correctly allow more characters in url path parts for parsing