summaryrefslogtreecommitdiff
path: root/docs/configuration/service/md-https.md
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-11 01:23:55 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-11 01:23:55 +0300
commitbc3b659dad8347ccb3c354f68892d9ecb7cd64da (patch)
tree2514d52b0f3fa30de6d15a5c8d827cf39e6f9eda /docs/configuration/service/md-https.md
parentf288dff64ec236ab564805f4631b7f5c21548b96 (diff)
downloadvyos-documentation-bc3b659dad8347ccb3c354f68892d9ecb7cd64da.tar.gz
vyos-documentation-bc3b659dad8347ccb3c354f68892d9ecb7cd64da.zip
ci(ai-validation): fix control-char guard — use grep -z, exclude NUL
Previous form `tr -d '\0\n\r' | grep -Pq [\x00-\x1F\x7F]` stripped the very chars (LF, CR) it was meant to catch before the grep ran, so a path containing newlines or carriage returns slipped through. `grep -z` keeps NUL as the record delimiter (legitimate separator from git diff -z) and the pattern excludes 0x00 while catching every other control byte 0x01-0x1F + 0x7F. LF/CR inside any path now correctly fail the guard. Surfaced by Copilot on #1969; applied to all three branch copies (rolling/circinus/sagitta) so the workflow stays in sync. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/configuration/service/md-https.md')
0 files changed, 0 insertions, 0 deletions