mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
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.