Permalink
Browse files

Successfully extract parameters regardless of URL casing.

  • Loading branch information...
1 parent 134e4f4 commit 972bdc34de6c803af311773fced202741b221cf1 @fblee fblee committed May 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/lib/router.js
View
@@ -127,7 +127,7 @@ _.extend(components.RapportiveRouter.prototype, /*Events, */ {
// Given a route, and a URL fragment that it matches, return the array of
// extracted parameters.
_extractParameters: function (route, fragment) {
- return route.exec(fragment).slice(1);
+ return route.exec(fragment.toLowerCase()).slice(1);
}
});

0 comments on commit 972bdc3

Please sign in to comment.