Permalink
Browse files

Merge pull request #3 from TobiasRaeder/master

Fixed parsing of urls to ignore dots in path parameters
  • Loading branch information...
2 parents 674e58d + affbad0 commit 0107b4e291b9ad89de8674706f9a59252479fa53 @weavejester weavejester committed Oct 28, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/clout/core.clj
View
3 src/clout/core.clj
@@ -121,7 +121,7 @@
word #":([\p{L}_][\p{L}_0-9-]*)"
literal #"(:[^\p{L}_*]|[^:*])+"
word-group #(keyword (.group % 1))
- word-regex #(regexs (word-group %) "[^/.,;?]+")]
+ word-regex #(regexs (word-group %) "[^/,;?]+")]
(CompiledRoute.
(re-pattern
(apply str
@@ -140,3 +140,4 @@
Route
(route-matches [route request]
(route-matches (route-compile route) request)))
+

0 comments on commit 0107b4e

Please sign in to comment.