mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 22:45:27 +00:00
Per https://dev.maxmind.com/geoip/release-notes/2024#presigned-urls-for-database-downloads MaxMind users who download databases should make sure that their HTTP client follows redirects and there are no proxy or firewall settings that would block requests to the host we are redirecting to. Co-authored-by: Jay Pfaffman <jay@literatecomputing.com>
This commit is contained in:
parent
747ecc1f8c
commit
e70fa2df6f
@ -42,7 +42,7 @@ class DiscourseIpInfo
|
||||
max_file_size: 100.megabytes,
|
||||
tmp_file_name: "#{name}.gz",
|
||||
validate_uri: false,
|
||||
follow_redirect: false,
|
||||
follow_redirect: true,
|
||||
)
|
||||
|
||||
filename = File.basename(gz_file.path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user