Skip to content

Commit

Permalink
[fixed] Empty query string now routes correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Mar 10, 2015
1 parent 57860c6 commit 59c28de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/PathUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var qs = require('qs');
var paramCompileMatcher = /:([a-zA-Z_$][a-zA-Z0-9_$]*)|[*.()\[\]\\+|{}^$]/g;
var paramInjectMatcher = /:([a-zA-Z_$][a-zA-Z0-9_$?]*[?]?)|[*]/g;
var paramInjectTrailingSlashMatcher = /\/\/\?|\/\?\/|\/\?/g;
var queryMatcher = /\?(.+)/;
var queryMatcher = /\?(.*)$/;

var _compiledPatterns = {};

Expand Down

0 comments on commit 59c28de

Please sign in to comment.