Ignore invalid feed discovery limits (#16)

This commit is contained in:
Autowebassat-blip 2026-06-12 06:04:55 +02:00 committed by GitHub
parent 9ed98ceaf7
commit 9942ef8dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -331,7 +331,7 @@ function numberParam(value: string | null) {
return undefined;
}
const parsed = Number(value);
return Number.isFinite(parsed) ? parsed : undefined;
return Number.isFinite(parsed) && parsed > 0 ? parsed : undefined;
}
function listParam(value: string | null) {