Merge pull request #3866 from soulsands/custom-match

fix:  match custom path strictly
This commit is contained in:
zadam 2023-04-23 22:12:55 +02:00 committed by GitHub
commit d3c2c314ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ function handleRequest(req, res) {
continue;
}
const regex = new RegExp(attr.value);
const regex = new RegExp(`^${attr.value}$`);
let match;
try {