mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
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