Skip to content

Commit

Permalink
Fix ipv6 loopback address syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarser authored May 26, 2020
1 parent 91ff82e commit 62fff6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lan-block.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
!
! ——— localhost
! https://en.wikipedia.org/wiki/Localhost
! https://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_network_resource_identifiers
!
/^https?://127\.(?:(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))\.){2}(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))[:/]/$third-party
||::1^$third-party
||[::1]^$third-party
||localhost^$third-party
!
! ——— any local
Expand Down

0 comments on commit 62fff6a

Please sign in to comment.