satisfy codeql check

This commit is contained in:
Josh Hawkins 2026-04-06 12:16:43 -05:00
parent ba9ed4e9c6
commit cc5ca96566

View File

@ -201,7 +201,7 @@ test.describe("Navigation - Settings Menu @critical", () => {
if (await menuItem.isVisible().catch(() => false)) {
await menuItem.click();
await expect(frigateApp.page).toHaveURL(
new RegExp(target.url.replace(/\//g, "\\/")),
new RegExp(target.url.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")),
);
}
}