Skip to content

Commit 1dd8146

Browse files
committed
Re-enable query string on timegate.
This ability got broken by 20b46c9.
1 parent 1a51dd2 commit 1dd8146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controllers/TimegateController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function TimegateController(options) {
3737

3838
// Set up path matching
3939
this._timegatePath = timegates.baseUrl || '/timegate/',
40-
this._matcher = new RegExp('^' + Util.toRegExp(this._timegatePath) + '(.+?)\/?$');
40+
this._matcher = new RegExp('^' + Util.toRegExp(this._timegatePath) + '(.+?)\/?(?:\\?.*)?$');
4141
}
4242
Controller.extend(TimegateController);
4343

0 commit comments

Comments
 (0)