mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Merge pull request #3866 from soulsands/custom-match
fix: match custom path strictly
This commit is contained in:
@@ -19,7 +19,7 @@ function handleRequest(req, res) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const regex = new RegExp(attr.value);
|
||||
const regex = new RegExp(`^${attr.value}$`);
|
||||
let match;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user