mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix: match custom path strictly
This commit is contained in:
parent
8725f7cfb2
commit
c3c6d73bb2
@ -19,7 +19,7 @@ function handleRequest(req, res) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const regex = new RegExp(attr.value);
|
||||
const regex = new RegExp(`^${attr.value}$`);
|
||||
let match;
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user