The `rss-parser`'s internal `parseURL` method can fail with an "Error: Non-whitespace before first tag" on feeds that are gzipped or contain a Byte Order Mark (BOM), as it lacks robust decompression and encoding handling. This change switches the Phoronix route to: Fetch the raw XML string using `ofetch`, which handles compression and encoding correctly. Pass the resulting clean string to `parser.parseString()`. This resolves the parsing issue and ensures the route is reliable. |
||
|---|---|---|
| .. | ||
| api | ||
| assets | ||
| errors | ||
| middleware | ||
| routes | ||
| routes-deprecated | ||
| utils | ||
| views | ||
| app-bootstrap.tsx | ||
| app.test.ts | ||
| app.ts | ||
| config.test.ts | ||
| config.ts | ||
| index.ts | ||
| pkg.test.ts | ||
| pkg.ts | ||
| registry.test.ts | ||
| registry.ts | ||
| router.js | ||
| routes.test.ts | ||
| server.ts | ||
| setup.test.ts | ||
| types.ts | ||