talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit cdce27cdb11d557e6bfeefecfcef99ce8c3ebda8
parent 6609ac10dc71617d740b9d3fabd94d230877b370
Author: Ricardo Mones <ricardo@mones.org>
Date:   Fri,  5 Jul 2024 18:36:05 +0200

libravatar: use the default https URL

Avoids the extra redirection the server is performing on http requests,
as documented in “Secure versus non-secure requests” on the API page¹.

For release notes: only affects new installs, but since http still works
no config migration code is written. Although users should probably
change their configured base_url to the new value, either by hand or
using Clawsker.

¹ https://wiki.libravatar.org/api/

Diffstat:
Msrc/plugins/libravatar/libravatar_prefs.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/libravatar/libravatar_prefs.c b/src/plugins/libravatar/libravatar_prefs.c @@ -67,7 +67,7 @@ struct LibravatarPrefsPage struct LibravatarPrefsPage libravatarprefs_page; static PrefParam param[] = { - { "base_url", "http://cdn.libravatar.org/avatar", + { "base_url", "https://seccdn.libravatar.org/avatar", &libravatarprefs.base_url, P_STRING, NULL, NULL, NULL }, { "cache_interval", "24",