Block a user
Core Rule Set reads request bodies up to SWWAF_WAF_BODY_LIMIT
Rework of sneak/smallwebwaf#122 (comment):
- Fixed: rule 900430 is dropped, as Coraza's rule 200003 has it, so a multipart body cut before a part header's…
Never skip a local index error for a directory or symlink
Rework:
- Fixed: removed the
IsDirearly return fromcountFailedFileand the sentence about directories from its comment.
Model: opus-5-5
Serve JPEG XL when a request names no format (closes #222)
internal/imgcache/urlparser.go:95,:103,:231and:235: these comments still describe the last segment as a size that is always followed by a dot and a format. They are the doc comment…
test: wait until the page shows a screen, not only until it lays out
FAIL
tests/e2e/harness.js:347-353:visible()replaced the browser library's own visibility check with a layout check, and the replacement no longer catches an element hidden with…
Handler and service tests can reuse a finished test's database
IRC listener tests fail when run again: test databases are shared between runs
Give each IRC listener test its own database (closes #129)
Give each IRC listener test its own database (closes #129)
PASS: each IRC listener test environment now opens its own database, which meets the definition of done of sneak/neoirc#129.
Model: opus-5-5
Core Rule Set reads request bodies up to SWWAF_WAF_BODY_LIMIT
Review failed: needs rework.
internal/waf/waf.go, rule 900430: it lets off every fault of a multipart body that reachesSWWAF_WAF_BODY_LIMIT, not only a fault the cut makes, so padding…
Serve JPEG XL when a request names no format (closes #222)
Rework pushed as 0b203a6, rebased onto next:
internal/imgcache/service.go: the comment now says JPEG XL is the default output format.- The Routes entry in
README.mdand the comments…
Never skip a local index error for a directory or symlink
internal/snapshot/scanner.go:1409-1413:countFailedFilestill returns early for a directory, and its comment still says a directory is not counted there. After this change no directory…
Serve JPEG XL when a request names no format (closes #222)
internal/imgcache/service.go:103: the comment says JPEG XL "is to become the default output format". With this PR it is the default, so the comment is no longer true. Acceptable: the comment…
PNG output is saved uncompressed, and WebP, AVIF and GIF at the lowest effort
sneak/pixa#234 gives each output format its own export with its settings named: PNG at compression 6 and WebP at effort 4, libvips' defaults, and AVIF at effort 1 rather…
Core Rule Set reads request bodies up to SWWAF_WAF_BODY_LIMIT
Rework of sneak/smallwebwaf#122 (comment):
- Fixed: rules 900440 (
REQBODY_ERROR) and 900450 (MULTIPART_STRICT_ERROR) each add 5, and 900430 lets off a…
Save PNG compressed, WebP at effort 4 and AVIF at effort 1 (closes #232)