We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c7676 commit 064e7c8Copy full SHA for 064e7c8
modules/utils/Path.js
@@ -15,7 +15,7 @@ function encodeURLPath(path) {
15
}
16
17
var paramCompileMatcher = /:([a-zA-Z_$][a-zA-Z0-9_$]*)|[*.()\[\]\\+|{}^$]/g;
18
-var paramInjectMatcher = /:([a-zA-Z_$?][a-zA-Z0-9_$?]*)|[*]/g;
+var paramInjectMatcher = /:([a-zA-Z_$][a-zA-Z0-9_$?]*[?]?)|[*]/g;
19
var paramInjectTrailingSlashMatcher = /\/\/\?|\/\?/g;
20
var queryMatcher = /\?(.+)/;
21
0 commit comments