Commit 649b685
fix: ignore .woff2 and modern static-asset extensions
The EXTENSIONS_TO_IGNORE list predates woff2 and other modern asset
formats. Matching is case-insensitive suffix matching, so ".woff" does
not cover ".woff2" — bot requests for woff2 fonts were forwarded to the
Prerender service instead of passing through to the servlet chain.
Aligns with the integration contract (CONTRACT.md §3): adds .woff2,
.otf, .eot, .webp, .avif, .webmanifest.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 1f40092 commit 649b685
2 files changed
Lines changed: 13 additions & 1 deletion
File tree
- src
- main/java/io/prerender
- test/java/io/prerender
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
99 | 110 | | |
100 | 111 | | |
101 | 112 | | |
| |||
0 commit comments