GNU bug report logs -
#28831
27.0.50; debbugs: funny address in To field
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Sat, 14 Oct 2017 09:47:02 UTC
Severity: minor
Tags: fixed, patch
Found in version 27.0.50
Fixed in version 26.1
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 28831 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
tags 28831 + patch
quit
Tino Calancha <tino.calancha <at> gmail.com> writes:
> When I reply such reports the funny address appear in CC.
> What are those '24000 <at> https:'? Do we need them?
Hah, I thought I was the only one (somehow this report did not land in
my inbox, I only happened to find it when looking at the bug list). The
following seems to fix it, but there is some caching. When I open this
bug the "https:" is still there, but opening other bugs that I haven't
opened in the current session yet then it's not. I'm not sure where the
cache is kept.
[0001-Handle-https-url-for-debbugs-mbox-Bug-28831.patch (text/x-diff, inline)]
From e1c49aec252ac8e79631c96fe68d2dcc725bdde4 Mon Sep 17 00:00:00 2001
From: Noam Postavsky <npostavs <at> gmail.com>
Date: Thu, 19 Oct 2017 20:07:05 -0400
Subject: [PATCH] Handle https url for debbugs mbox (Bug#28831)
In 2017-09-13 "Prefer HTTPS to FTP and HTTP in documentation",
gnus-bug-group-download-format-alist was updated to use https for the
debbugs.gnu.org mbox links, but gnus-read-ephemeral-bug-group assumed
http links.
* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Strip
https, not http.
---
lisp/gnus/gnus-group.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 985efe6272..259d046e9e 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2469,7 +2469,7 @@ gnus-read-ephemeral-bug-group
(format "%s@%s" (car ids)
(replace-regexp-in-string
"/.*$" ""
- (replace-regexp-in-string "^http://" "" mbox-url)))))
+ (replace-regexp-in-string "^https://" "" mbox-url)))))
(goto-char (point-min))
(while (re-search-forward (concat "^" message-unix-mail-delimiter)
nil t)
--
2.11.0
This bug report was last modified 7 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.