fix xss on error page

This commit is contained in:
crapStone 2022-12-02 17:19:43 +01:00
parent dcf03fc078
commit 019d942249
No known key found for this signature in database
GPG key ID: 4CAA9E39EEDEB1F0
3 changed files with 58 additions and 16 deletions

View file

@ -38,10 +38,10 @@ tool-gofumpt:
fi
test:
go test -race codeberg.org/codeberg/pages/server/...
go test -race codeberg.org/codeberg/pages/server/... codeberg.org/codeberg/pages/html/
test-run TEST:
go test -race -run "^{{TEST}}$" codeberg.org/codeberg/pages/server/...
go test -race -run "^{{TEST}}$" codeberg.org/codeberg/pages/server/... codeberg.org/codeberg/pages/html/
integration:
go test -race -tags integration codeberg.org/codeberg/pages/integration/...