[Commits] [SCM] claws branch, master, updated. 3.10.1-127-gd0ad5f6
mones at claws-mail.org
mones at claws-mail.org
Sat Jul 19 11:53:05 CEST 2014
The branch, master has been updated
via d0ad5f6a2835f12e6ede145e86253801f4432da5 (commit)
from da036db0b5d61742164be368fdee45fbda592102 (commit)
Summary of changes:
src/plugins/spam_report/spam_report.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit d0ad5f6a2835f12e6ede145e86253801f4432da5
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Jul 19 11:52:24 2014 +0200
Fix http://bugs.debian.org/755022 (now uses https)
diff --git a/src/plugins/spam_report/spam_report.c b/src/plugins/spam_report/spam_report.c
index aa3df22..e996607 100644
--- a/src/plugins/spam_report/spam_report.c
+++ b/src/plugins/spam_report/spam_report.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Colin Leroy <colin at colino.net>
+ * Copyright (C) 1999-2014 Colin Leroy <colin at colino.net>
* and the Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
@@ -63,13 +63,15 @@ static gboolean check_debian_listid(MsgInfo *msginfo);
/* this interface struct is probably not enough for the various available
* reporting places/methods. It'll be extended as necessary. */
+#define SSFR_URL "https://www.signal-spam.fr/api/signaler"
+#define SSFR_BODY "message=%claws_mail_body_b64%"
+
+#define DEBL_URL "https://lists.debian.org/cgi-bin/nominate-for-review.pl?Quiet=on&msgid=%claws_mail_msgid%"
+
ReportInterface spam_interfaces[] = {
- { "Signal-Spam.fr", INTF_HTTP_AUTH, "https://www.signal-spam.fr/api/signaler",
- "message=%claws_mail_body_b64%", NULL},
+ { "Signal-Spam.fr", INTF_HTTP_AUTH, SSFR_URL, SSFR_BODY, NULL},
{ "Spamcop.net", INTF_MAIL, NULL, NULL, NULL},
- { "Debian Lists", INTF_HTTP_GET,
- "http://lists.debian.org/cgi-bin/nominate-for-review.pl?Quiet=on&msgid=%claws_mail_msgid%",
- NULL, check_debian_listid},
+ { "Debian Lists", INTF_HTTP_GET, DEBL_URL, NULL, check_debian_listid},
{ NULL, INTF_NULL, NULL, NULL, NULL}
};
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list