mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 08:53:49 +08:00
6eb0d0c38d
The regular expression to detect private IP addresses did not always detect them successfully. Changed to use ruby's in-built IPAddr.new(ip_address).private? method instead which does the same thing but covers all cases. |
||
---|---|---|
.. | ||
anonymous_cache_spec.rb | ||
discourse_public_exceptions_spec.rb | ||
enforce_hostname_spec.rb | ||
request_tracker_spec.rb |