mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
SECURITY: Consider 0.0.0.0
a private IP
This commit is contained in:
@ -293,6 +293,7 @@ class FinalDestination
|
||||
|
||||
def self.standard_private_ranges
|
||||
@private_ranges ||= [
|
||||
IPAddr.new('0.0.0.0/8'),
|
||||
IPAddr.new('127.0.0.1'),
|
||||
IPAddr.new('172.16.0.0/12'),
|
||||
IPAddr.new('192.168.0.0/16'),
|
||||
|
Reference in New Issue
Block a user