tgxworld
(Alan Tan)
Mai 16, 2024, 12:41
24
Je ne peux pas reproduire cela maintenant et je me demande si c’est parce que MaxMind était en panne ?
Nous devrons ajouter de meilleures protections pour les cas où MaxMind ne parvient pas à télécharger.
Ceci a été corrigé dans
main ← fix_final_destionation_forwarding_headers
opened 12:28AM - 16 May 24 UTC
This commit updates `FinalDestination#get` to not forward
`Authorization` heade… r on redirects since HTTP clients I tested like
`curl` and `wget` does not do it.
This commit also fixes a recent problem in `DiscourseIpInfo.mmdb_download`
where we will fail to download the databases when both `GlobalSetting.maxmind_account_id` and
`GlobalSetting.maxmind_license_key` has been set. The failure is due to
the bug above where the redirected URL given by MaxMind does not accept
an `Authorization` header.
jomaxro
(Joshua Rosenfeld)
Mai 16, 2024, 1:15
26
Ça marche pour moi après une reconstruction - merci !
Ce n’est pas mon cas, car j’ai ce problème depuis quelques semaines maintenant.
Quoi qu’il en soit, merci @Firefishy et @tgxworld d’avoir intégré le correctif dans la version stable – je viens de reconstruire et cela fonctionne à nouveau avec MaxMind.