Match building URLs with query strings
This commit is contained in:
parent
002b6a4a80
commit
29783c9b33
@ -15,7 +15,7 @@ function strictParseInt(value) {
|
||||
|
||||
|
||||
function parseBuildingURL(url){
|
||||
const re = /^\/building\/([^\/]+)(\/edit)?.html$/;
|
||||
const re = /^\/building\/([^\/]+)(\/edit)?.html/;
|
||||
const matches = re.exec(url);
|
||||
|
||||
if (matches && matches.length >= 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user