fix: pin CrowdSec builder to Go 1.25.5 to eliminate HIGH CVEs and enhance email header validation to prevent CRLF injection

This commit is contained in:
GitHub Actions
2026-01-10 03:02:23 +00:00
parent 543492092b
commit 4d7f0425ee
6 changed files with 525 additions and 205 deletions

View File

@@ -249,7 +249,8 @@ describe('ProxyHosts page extra tests', () => {
renderWithProviders(<ProxyHosts />)
await waitFor(() => expect(screen.getByText('link.example.com')).toBeInTheDocument())
const link = screen.getByRole('link', { name: /link.example.com/ })
// Use exact string match to avoid incomplete hostname regex (CodeQL js/incomplete-hostname-regexp)
const link = screen.getByRole('link', { name: 'link.example.com' })
await userEvent.click(link)
expect(openSpy).toHaveBeenCalled()
openSpy.mockRestore()