mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 06:47:28 +00:00
Block IPv6 unspecified feed URLs (#15)
This commit is contained in:
parent
9942ef8dc6
commit
73e2464b30
2 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ function isBlockedIp(value: string) {
|
|||
return isBlockedIp(`${high >> 8}.${high & 255}.${low >> 8}.${low & 255}`);
|
||||
}
|
||||
return (
|
||||
normalized === "::" ||
|
||||
normalized === "::1" ||
|
||||
normalized.startsWith("fc") ||
|
||||
normalized.startsWith("fd") ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue