Skip to content

Commit 441af68

Browse files
authored
fix: correct error message for URL pattern validation
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/62b8aef1-1409-4f1d-8641-71dce77c2ceb
1 parent 6c22710 commit 441af68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ program
16421642
// Reject characters that could inject Squid config directives or tokens
16431643
if (SQUID_DANGEROUS_CHARS.test(url)) {
16441644
logger.error(`URL pattern contains characters unsafe for Squid config: ${JSON.stringify(url)}`);
1645-
logger.error('URL patterns must not contain whitespace, quotes, semicolons, backticks, hash characters, backslashes, or null bytes.');
1645+
logger.error('URL patterns must not contain whitespace, quotes, semicolons, backticks, hash characters, or null bytes.');
16461646
process.exit(1);
16471647
}
16481648

0 commit comments

Comments
 (0)