From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Torsten Bronger Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Apr 2023 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62815@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168138667724150 (code B ref -1); Thu, 13 Apr 2023 11:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2023 11:51:17 +0000 Received: from localhost ([127.0.0.1]:42743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmvTx-0006HR-H4 for submit@debbugs.gnu.org; Thu, 13 Apr 2023 07:51:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:48108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmvTu-0006HF-BE for submit@debbugs.gnu.org; Thu, 13 Apr 2023 07:51:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmvTt-0007Mn-N9 for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 07:51:13 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmvTq-0005ot-Pf for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 07:51:13 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pmvTo-000Ad9-4e for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 13:51:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org From: Torsten Bronger Date: Thu, 13 Apr 2023 13:46:38 +0200 Organization: Phoenix Foundation Message-ID: <87o7ns0ztt.fsf@physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:g2Ga3E+C8/s5gaFwL4JddTAFysY= X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hallöchen! Since commit 3faa508eba84a1983732099cbd3cc1eaad404158, I observe incorrect MIME types in my outgoing mails, e.g. … --=-=-= Content-Type: application/vnd\.oasis\.opendocument\.spreadsheet Content-Disposition: attachment; filename=2022-12-15_Nachbestellung_Studio.ods Content-Transfer-Encoding: base64 … Reason is that when attaching a file to a mail in Gnus, the MIME type is suggested by Gnus, and this suggestion contains the incorrect backslashes. Regards, Torsten. -- Torsten Bronger From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Apr 2023 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Torsten Bronger , Lars Ingebrigtsen Cc: 62815@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168139726314154 (code B ref -1); Thu, 13 Apr 2023 14:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2023 14:47:43 +0000 Received: from localhost ([127.0.0.1]:44425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmyEg-0003gC-PD for submit@debbugs.gnu.org; Thu, 13 Apr 2023 10:47:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:59268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmyEe-0003fi-96 for submit@debbugs.gnu.org; Thu, 13 Apr 2023 10:47:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmyEc-00034r-HJ for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 10:47:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmyEY-0000RT-JI; Thu, 13 Apr 2023 10:47:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sg45vGtqsoAjFTJfCjsYQQa0ptR9xUuO99ofCpSBogM=; b=NsFqmgPn13QIudR/vRdo RVxv0DT/+XTHYCMrtCFfDTLQcooSZ4ojVZX2Gun1P4O64sP7JFwPopodaEkrnPG495uEvQjz3ZOi/ YCa6irrfpY2omkfdbovTebqDu3tLRABKdJTAvpNQRtntMyU+OAjCMAdVcYLNPp4hbPUA4/yoTMyfs 40sIBXqre886Mz21bvFUPFPjrG/M9GCEQXIsyXAqjnCQpPdckUZT4M4lObcSqSzL0eJS/EEolJWbb uM7i35QdtJA5q+GEouKnuHP+TylWtHeeFwsRNKqzrxbycibL5r2RmmBCtW96TB8iJpestQYAHSGkl gClSfeZSOclkZw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmyEX-0004bG-Vj; Thu, 13 Apr 2023 10:47:34 -0400 Date: Thu, 13 Apr 2023 17:48:22 +0300 Message-Id: <83pm874z49.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o7ns0ztt.fsf@physik.rwth-aachen.de> (message from Torsten Bronger on Thu, 13 Apr 2023 13:46:38 +0200) References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Torsten Bronger > Date: Thu, 13 Apr 2023 13:46:38 +0200 > > Hallöchen! > > Since commit 3faa508eba84a1983732099cbd3cc1eaad404158, I observe > incorrect MIME types in my outgoing mails, e.g. > > … > --=-=-= > Content-Type: application/vnd\.oasis\.opendocument\.spreadsheet > Content-Disposition: attachment; > filename=2022-12-15_Nachbestellung_Studio.ods > Content-Transfer-Encoding: base64 > … > > > Reason is that when attaching a file to a mail in Gnus, the MIME > type is suggested by Gnus, and this suggestion contains the > incorrect backslashes. Lars, could you please look into this? From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 08:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew G Cohen Cc: 62815@debbugs.gnu.org, larsi@gnus.org, bronger@physik.rwth-aachen.de Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168215295531970 (code B ref 62815); Sat, 22 Apr 2023 08:43:01 +0000 Received: (at 62815) by debbugs.gnu.org; 22 Apr 2023 08:42:35 +0000 Received: from localhost ([127.0.0.1]:41662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq8pH-0008Ja-5Y for submit@debbugs.gnu.org; Sat, 22 Apr 2023 04:42:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq8pF-0008JO-Po for 62815@debbugs.gnu.org; Sat, 22 Apr 2023 04:42:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq8p9-0004nV-EM; Sat, 22 Apr 2023 04:42:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=yAt6kuab4m0eq2d5wa6zwVG6nqLKfmnup1R284Pto8Q=; b=rohzSGJRREMpUuMTKzwS ejuJA4tctOgyWhlzSq1bcJ1AJcmEAriOrpNBgF9KbgDPiqZVx7A7ndH46wtXo2rmOJJNzvRCfDW5u 20DDJ5/rN5FIn55ZuCvALZtb5zYJIaGiO2wTDiSHBLO5Q3aw9Ec5Tr9gOzUTUBgfL5Qv7Jo8MVD3w +4jW0OtnZrzEYV2O9kHho47ueEb+jNh4byqKUwlp1Jxi/Cv54eZh9ubLzt4xY6Xg6srhNcDdVv2Q5 uVB8z0hhe9Uh3S3weEz872GyWVWjYkGtttpncIYB3fLOfLO9Nio46F7UPJjh5wWuxIGij81guR0Up xBBa4ZC31beJkQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq8p8-0005Bw-Cp; Sat, 22 Apr 2023 04:42:26 -0400 Date: Sat, 22 Apr 2023 11:42:45 +0300 Message-Id: <831qkc2tq2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83pm874z49.fsf@gnu.org> (message from Eli Zaretskii on Thu, 13 Apr 2023 17:48:22 +0300) References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> <83pm874z49.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 62815@debbugs.gnu.org > Date: Thu, 13 Apr 2023 17:48:22 +0300 > From: Eli Zaretskii > > > From: Torsten Bronger > > Date: Thu, 13 Apr 2023 13:46:38 +0200 > > > > Hallöchen! > > > > Since commit 3faa508eba84a1983732099cbd3cc1eaad404158, I observe > > incorrect MIME types in my outgoing mails, e.g. > > > > … > > --=-=-= > > Content-Type: application/vnd\.oasis\.opendocument\.spreadsheet > > Content-Disposition: attachment; > > filename=2022-12-15_Nachbestellung_Studio.ods > > Content-Transfer-Encoding: base64 > > … > > > > > > Reason is that when attaching a file to a mail in Gnus, the MIME > > type is suggested by Gnus, and this suggestion contains the > > incorrect backslashes. > > Lars, could you please look into this? Ping! Andrew, perhaps you could look into this some time soon? It sounds like a recent regression, so I'd like to fix this in Emacs 29. From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Apr 2023 02:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 62815@debbugs.gnu.org, Arash Esbati , Andreas Schwab , bronger@physik.rwth-aachen.de, larsi@gnus.org, Andrew G Cohen Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168221783312685 (code B ref 62815); Sun, 23 Apr 2023 02:44:01 +0000 Received: (at 62815) by debbugs.gnu.org; 23 Apr 2023 02:43:53 +0000 Received: from localhost ([127.0.0.1]:44371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqPhg-0003IW-KJ for submit@debbugs.gnu.org; Sat, 22 Apr 2023 22:43:52 -0400 Received: from andy.bu.edu ([128.197.41.152]:43738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqPhb-0003IG-La for 62815@debbugs.gnu.org; Sat, 22 Apr 2023 22:43:50 -0400 Received: from [193.176.211.56] (helo=clove) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pqPhS-0005bQ-KT; Sat, 22 Apr 2023 22:43:39 -0400 From: Andrew Cohen In-Reply-To: <831qkc2tq2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Apr 2023 11:42:45 +0300") References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> <83pm874z49.fsf@gnu.org> <831qkc2tq2.fsf@gnu.org> Date: Sun, 23 Apr 2023 10:43:27 +0800 Message-ID: <87bkjf8gj4.fsf@ust.hk> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "andy.bu.edu", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: >>>>> "EZ" == Eli Zaretskii writes: EZ> Andrew, perhaps you could look into this some time soon? It EZ> sounds like a recent regression, so I'd like to fix this in EZ> Emacs 29. (I've added Arash Esbati who filed the original bug that this commit was intended to fix, and Andreas since I think he understands mime handling in gnus and can probably comment.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> "EZ" == Eli Zaretskii writes: EZ> Andrew, perhaps you could look into this some time soon? It EZ> sounds like a recent regression, so I'd like to fix this in EZ> Emacs 29. (I've added Arash Esbati who filed the original bug that this commit was intended to fix, and Andreas since I think he understands mime handling in gnus and can probably comment.) I have taken a quick look and think I understand what is going on, but I'm not positive. The mailcap-mime-data can include a regexp for the subtype; it appears that the only circumstance in which it is used as a regexp is matching the possible viewer to be used for this subtype. The patch in commit 3faa508eba84a1983732099cbd3cc1eaad404158 also treats mailcap-mime-extensions as regexps, which I think is a mistake: these should be associations between mime types and file extensions. If all this is right, the simple fix is to revert the part of 3faa508eba84a1983732099cbd3cc1eaad404158 that treated the extension data as regexps. I have attached a diff below that does this. If Torsten and Arash can check if this continues to provide a fix for bug#52038 and bug#62815 that would be great! There is one more place I think needs fixing (and maybe others I haven't spotted yet): the function mailcap-mime-types returns a list of mime types, and excludes any type that contains a wildcard: (unless (string-search "*" type) (push type res)) which suggests that this should be a list of actual types and not include regexps. Hence we should remove any regexp quoting from the entries. I have included a line that removes the "\\" in the diff. diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index 10c5a7744c1..b8990266069 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -979,7 +979,7 @@ mailcap-mime-extensions (".vox" . "audio/basic") (".vrml" . "x-world/x-vrml") (".wav" . "audio/x-wav") - (".xls" . "application/vnd\\.ms-excel") + (".xls" . "application/vnd.ms-excel") (".wrl" . "x-world/x-vrml") (".xbm" . "image/xbm") (".xpm" . "image/xpm") @@ -1051,8 +1051,7 @@ mailcap-parse-mimetype-file (setq save-pos (point)) (skip-chars-forward "^ \t\n") (downcase-region save-pos (point)) - (setq type (mailcap--regexp-quote-type - (buffer-substring save-pos (point)))) + (setq type (buffer-substring save-pos (point))) (while (not (eolp)) (skip-chars-forward " \t") (setq save-pos (point)) @@ -1107,7 +1106,7 @@ mailcap-mime-types (dolist (info (cdr data)) (setq type (cdr (assq 'type (cdr info)))) (unless (string-search "*" type) - (push type res)))) + (push (string-replace "\\" "" type) res)))) (nreverse res))))) ;;; -- Andrew Cohen From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Apr 2023 10:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Cohen Cc: Andrew G Cohen , 62815@debbugs.gnu.org, Andreas Schwab , bronger@physik.rwth-aachen.de, larsi@gnus.org, Eli Zaretskii Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168233222612311 (code B ref 62815); Mon, 24 Apr 2023 10:31:02 +0000 Received: (at 62815) by debbugs.gnu.org; 24 Apr 2023 10:30:26 +0000 Received: from localhost ([127.0.0.1]:47645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqtSj-0003BM-UN for submit@debbugs.gnu.org; Mon, 24 Apr 2023 06:30:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqtSj-0002uU-3f for 62815@debbugs.gnu.org; Mon, 24 Apr 2023 06:30:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqtSZ-0002P4-H7; Mon, 24 Apr 2023 06:30:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Wt+lfLaKZW6Vx/KTtyKpqVAp2w0X+Q2n4O9M1uKuaBI=; b=oJyKuFfpn4V4FUjPBuIa 2xFtR6PY3ZBxkm/SogxssZ6lgT5tWp56zQibC8QLOcEjXDGl+lHWKBmVVK+fvpICeau5hmwEI9fZK J9EFFCcCAWffcGJ98V52yR+GdBogFXEHkJKJoBRXAK3RPPkdLRe3UPgtfv+iOUau+GUENeEHlBRn4 /Bb3wWGR5++OVGnVVRSGn0dbZ4l+0eIKrxS+Y+BeerOdI4mLvlgg/SLItfw2lVmJQ/qS5UJpbNTmA cl1vgSBo7Eg83NANgLEsREHWBNteM6SnkdLpOXlrwudbGIxlQMA0qMygp7Ij+YfaVXoi2O3eE59et 7S4/dI3hFM6fag==; Received: from pd9fb7539.dip0.t-ipconnect.de ([217.251.117.57] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqtSR-0006lL-UI; Mon, 24 Apr 2023 06:30:14 -0400 From: Arash Esbati In-Reply-To: <87bkjf8gj4.fsf@ust.hk> (Andrew Cohen's message of "Sun, 23 Apr 2023 10:43:27 +0800") References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> <83pm874z49.fsf@gnu.org> <831qkc2tq2.fsf@gnu.org> <87bkjf8gj4.fsf@ust.hk> Date: Mon, 24 Apr 2023 12:29:38 +0200 Message-ID: <86bkjd3759.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andrew Cohen writes: > If all this is right, the simple fix is to revert the part of > 3faa508eba84a1983732099cbd3cc1eaad404158 that treated the extension data > as regexps. I have attached a diff below that does this. If Torsten > and Arash can check if this continues to provide a fix for bug#52038 and > bug#62815 that would be great! Thanks for looking at this. I built the latest repo version (65735cee71) of Emacs and tried it with and w/o your patch. It seems to fix the issues Torsten and I have reported, but ... > There is one more place I think needs fixing (and maybe others I haven't > spotted yet): I see a strange side effect when I use 'e' in article buffer to view a attachment. Without your change, Emacs starts Excel like this (this it at least I see in *Messages* buffer) and it works: Displaying start excel.exe "`cygpath -w -a c\:/msys64/tmp/emm.fMzcnA/file_name.xlsx`" With your change, I get: Displaying start excel.exe "`cygpath -w -a "c:/msys64/tmp/emm.QDUAFP/file_name.xlsx"`" which doesn't work due to extra pair of quotes. This is the entry in my .mailcap: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; \ start excel.exe "`cygpath -w -a %s`" This on Win10. Best, Arash From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62815@debbugs.gnu.org Cc: Eli Zaretskii , Arash Esbati Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168281799121214 (code B ref 62815); Sun, 30 Apr 2023 01:27:02 +0000 Received: (at 62815) by debbugs.gnu.org; 30 Apr 2023 01:26:31 +0000 Received: from localhost ([127.0.0.1]:36881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psvpf-0005W5-81 for submit@debbugs.gnu.org; Sat, 29 Apr 2023 21:26:31 -0400 Received: from andy.bu.edu ([128.197.41.152]:45150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psvpd-0005Vt-3S for 62815@debbugs.gnu.org; Sat, 29 Apr 2023 21:26:30 -0400 Received: from [193.176.211.56] (helo=clove) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1psvpW-00075G-TU; Sat, 29 Apr 2023 21:26:23 -0400 From: Andrew Cohen In-Reply-To: <831qkc2tq2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Apr 2023 11:42:45 +0300") References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> <83pm874z49.fsf@gnu.org> <831qkc2tq2.fsf@gnu.org> Date: Sun, 30 Apr 2023 09:26:13 +0800 Message-ID: <87leianosq.fsf@ust.hk> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "andy.bu.edu", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Arash Esbati writes: >Andrew Cohen writes: >> That is the odd part---the changes I made don't touch this at all. This >> is in the viewer part, and none of the changes should have any effect on >> this part. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arash Esbati writes: >Andrew Cohen writes: >> That is the odd part---the changes I made don't touch this at all. This >> is in the viewer part, and none of the changes should have any effect on >> this part. >Hi Andy, sorry for the late response. It took me longer since I went >through a longer oddity show. It turned out that your patch works, but >I had to install Emacs into a directory, i.e., pass a directory to >configure via --prefix. Simply starting emacs.exe out of ./src >directory throws the error I described in my other mail, very odd. So >from what I see, your change fixes both problems reported. Maybe you >install that change and others can test is as well. Glad to hear that the patch seems to work. I'm not sure what is going on with the installation on windows, but since it sounds like this is not related to the current issue, I'll follow your suggestion and commit the patch to master. Assuming no one reports a problem I think the patch can then go to the 29 branch to fix the regression. Best, Andy -- Andrew Cohen From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> In-Reply-To: <87o7ns0ztt.fsf@physik.rwth-aachen.de> Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 May 2023 00:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62815@debbugs.gnu.org Cc: Eli Zaretskii Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168341887920435 (code B ref 62815); Sun, 07 May 2023 00:22:02 +0000 Received: (at 62815) by debbugs.gnu.org; 7 May 2023 00:21:19 +0000 Received: from localhost ([127.0.0.1]:36020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvS9P-0005JX-Il for submit@debbugs.gnu.org; Sat, 06 May 2023 20:21:19 -0400 Received: from andy.bu.edu ([128.197.41.152]:46360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvS9N-0005JG-Jt for 62815@debbugs.gnu.org; Sat, 06 May 2023 20:21:18 -0400 Received: from [193.176.211.228] (helo=clove) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvS9G-0000GP-Rs; Sat, 06 May 2023 20:21:11 -0400 From: Andrew Cohen User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sun, 07 May 2023 08:21:02 +0800 Message-ID: <87pm7d3sb5.fsf@ust.hk> MIME-Version: 1.0 Content-Type: text/plain X-Spam_score: -1.4 X-Spam_score_int: -13 X-Spam_bar: - X-Spam_report: Spam detection software, running on the system "andy.bu.edu", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: My patch has spent almost a week on master with no complaints. Eli, OK to push this regression fix to emacs-29 and close the bug report? (I assume to push to emacs-29 I just checkout emacs-29, cherry-pick the commit, and push?) -- Andrew Cohen Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.5 FAKE_REPLY_C No description available. X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) My patch has spent almost a week on master with no complaints. Eli, OK to push this regression fix to emacs-29 and close the bug report? (I assume to push to emacs-29 I just checkout emacs-29, cherry-pick the commit, and push?) -- Andrew Cohen From unknown Sat Jun 21 10:39:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62815: Gnus: MIME types of attachments contain regexp quotation Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 May 2023 05:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Cohen Cc: 62815@debbugs.gnu.org Received: via spool by 62815-submit@debbugs.gnu.org id=B62815.168343662221048 (code B ref 62815); Sun, 07 May 2023 05:18:01 +0000 Received: (at 62815) by debbugs.gnu.org; 7 May 2023 05:17:02 +0000 Received: from localhost ([127.0.0.1]:36179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvWlZ-0005TQ-VO for submit@debbugs.gnu.org; Sun, 07 May 2023 01:17:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvWlY-0005Su-8B for 62815@debbugs.gnu.org; Sun, 07 May 2023 01:17:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvWlS-0004B2-09; Sun, 07 May 2023 01:16:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lQtkgsuaMdQghIe5JoqXnhpmFS/Wq7xvXlQ5lwkVbjs=; b=auHg6QaTYU73 JWkSq9ihoVOa2BSXHlgYPIxI833JFco1yABDeCkdmZxgKXEinz88KKgM3KSUa7y6YxTc+EQQK34Wo fcScce7/rDqOjrFs4077lzdlJi3WWkMwaYEA4X5Xk2Lt7+QtRY+UJRyuZxuIVpWS5L15mTxYSTNHB 0jt8viV/EO2ycAxrqAPgDsG2kY4rTXBzKxyz+3OpNMGg4TxdutGrotFLVcTNWmwflP118sX7Pbfy9 FV+ei+mOON7DGrvpjxSukBY7fazBEf0qrP74OvdEZmRKZdobUfpyatHUqzD1STUFazSqBpxQOJVVP Q90p2wp4vHfHVKdfQnUU2w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvWlQ-0006cg-8g; Sun, 07 May 2023 01:16:53 -0400 Date: Sun, 07 May 2023 08:17:50 +0300 Message-Id: <83zg6gen41.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87pm7d3sb5.fsf@ust.hk> (message from Andrew Cohen on Sun, 07 May 2023 08:21:02 +0800) References: <87pm7d3sb5.fsf@ust.hk> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrew Cohen > Cc: Eli Zaretskii > Date: Sun, 07 May 2023 08:21:02 +0800 > > My patch has spent almost a week on master with no complaints. Eli, OK > to push this regression fix to emacs-29 and close the bug report? > > (I assume to push to emacs-29 I just checkout emacs-29, cherry-pick the > commit, and push?) Yes to both questions. When you cherry-pick, be sure to use the -x switch to Git (or its equivalent, if you don't invoke Git directly from the shell prompt), so that the commit log message of the backport includes the telltale "(cherry picked from commit ...)" line. From unknown Sat Jun 21 10:39:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Torsten Bronger Subject: bug#62815: closed (Re: bug#62815: Gnus: MIME types of attachments contain regexp quotation) Message-ID: References: <87o7ns0ztt.fsf@physik.rwth-aachen.de> X-Gnu-PR-Message: they-closed 62815 X-Gnu-PR-Package: emacs Reply-To: 62815@debbugs.gnu.org Date: Thu, 14 Sep 2023 00:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1694652242-8886-1" This is a multi-part message in MIME format... ------------=_1694652242-8886-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62815: Gnus: MIME types of attachments contain regexp quotation which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62815@debbugs.gnu.org. --=20 62815: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62815 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1694652242-8886-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62815-done) by debbugs.gnu.org; 14 Sep 2023 00:43:06 +0000 Received: from localhost ([127.0.0.1]:36378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgaRk-0002Hw-JO for submit@debbugs.gnu.org; Wed, 13 Sep 2023 20:43:05 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:54538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgaRf-0002HO-FL for 62815-done@debbugs.gnu.org; Wed, 13 Sep 2023 20:43:03 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-502e7d66c1eso183785e87.1 for <62815-done@debbugs.gnu.org>; Wed, 13 Sep 2023 17:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694652168; x=1695256968; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=s7/MXgxQKW2XSxUx/FRkGesheO15QN1j+pxUn3lihhw=; b=CXb4uhDHOjGQnH1zWEpLV0ntBcU3gptC0A/k1znE962xOKe1OKKg7+ABJZBJAvgSw1 XxMwmJb9r3tAjyzBVuIabBMLA0FwtPGxuScI+Y3PikltnbXEn2dCQJbysDuD07d+JqIO hSzlujX9joaqgGNpcNHeqxVN3M+UsWpEV0zP+EdxY3bai5biWCNhqVtmiEcC9pj5yJNL vuaSUvgMUIiaKfMFxqAdS1ODzPVox5EzM0U6Lc4HiK4uHbpsCnxox034e5WfHCWULp1m dDzXHwMlN9+j4Ut9EJ6ADH+7rNNhCFJMHKFyIgeYOOWQ2UxbCpCRhMI8Ui0873jTdW6K hrJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694652168; x=1695256968; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s7/MXgxQKW2XSxUx/FRkGesheO15QN1j+pxUn3lihhw=; b=AVR+mRFyjrsnoleJKMETHs+FQZROnBJHie+yxWU4DoBQIdIanOCAzzC2hJUAZydb1A OWETgM1Ay3YFhF6xuxx9yO1IKReo0jaeDANYNAHWx5+XpUM0864/ku49b3o0MLWz0q9+ zHrKGKM5B2CCY9Vr6H9nQhNh/7vaf/by+j60GSPyHOHTKzXLH/nlQGDol9JBg6MpRoFo 4KmC5S6y3MjYChZYDsYcGbsY6bEPgi2ZPq3ypLHkVbMWMo3ZWTib8N5zakWnE2BRu/bC eVLHHUmA4/kIboQaA1mgTn6n+qn03Qz+b8KUxwt7eseiYvsouLQEaX++WtpokEJMkGXl Fcmg== X-Gm-Message-State: AOJu0Yxsh4QZoM6d8rGLAnpxn+nErL485kRah7+xq0l97dCbwyk/R85Q j33jD8B9SBhwwh4Kc5D/rgGOp5xEbzIB0tjd83k= X-Google-Smtp-Source: AGHT+IFYNKNEzvPmo+cwChwf/R9CL3wjIdI2nuQPr7c8o0wOJTiDnlxuYsOUCH3TxgyL9N/NyVB4usuGezZIDQ5Ck0c= X-Received: by 2002:a05:6512:3050:b0:4fb:91c5:fd38 with SMTP id b16-20020a056512305000b004fb91c5fd38mr4529536lfb.0.1694652167915; Wed, 13 Sep 2023 17:42:47 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Sep 2023 17:42:47 -0700 From: Stefan Kangas In-Reply-To: <83zg6gen41.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 May 2023 08:17:50 +0300") References: <87pm7d3sb5.fsf@ust.hk> <83zg6gen41.fsf@gnu.org> MIME-Version: 1.0 Date: Wed, 13 Sep 2023 17:42:47 -0700 Message-ID: Subject: Re: bug#62815: Gnus: MIME types of attachments contain regexp quotation To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62815-done Cc: Andrew Cohen , 62815-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Version: 29.1 Eli Zaretskii writes: >> From: Andrew Cohen >> Cc: Eli Zaretskii >> Date: Sun, 07 May 2023 08:21:02 +0800 >> >> My patch has spent almost a week on master with no complaints. Eli, OK >> to push this regression fix to emacs-29 and close the bug report? >> >> (I assume to push to emacs-29 I just checkout emacs-29, cherry-pick the >> commit, and push?) > > Yes to both questions. > > When you cherry-pick, be sure to use the -x switch to Git (or its > equivalent, if you don't invoke Git directly from the shell prompt), > so that the commit log message of the backport includes the telltale > "(cherry picked from commit ...)" line. It seems like this issue was fixed, but it was left open in the bug tracker. I'm therefore closing it now. ------------=_1694652242-8886-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Apr 2023 11:51:17 +0000 Received: from localhost ([127.0.0.1]:42743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmvTx-0006HR-H4 for submit@debbugs.gnu.org; Thu, 13 Apr 2023 07:51:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:48108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmvTu-0006HF-BE for submit@debbugs.gnu.org; Thu, 13 Apr 2023 07:51:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmvTt-0007Mn-N9 for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 07:51:13 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmvTq-0005ot-Pf for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 07:51:13 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pmvTo-000Ad9-4e for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 13:51:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Torsten Bronger Subject: Gnus: MIME types of attachments contain regexp quotation Date: Thu, 13 Apr 2023 13:46:38 +0200 Organization: Phoenix Foundation Message-ID: <87o7ns0ztt.fsf@physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:g2Ga3E+C8/s5gaFwL4JddTAFysY= X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hallöchen! Since commit 3faa508eba84a1983732099cbd3cc1eaad404158, I observe incorrect MIME types in my outgoing mails, e.g. … --=-=-= Content-Type: application/vnd\.oasis\.opendocument\.spreadsheet Content-Disposition: attachment; filename=2022-12-15_Nachbestellung_Studio.ods Content-Transfer-Encoding: base64 … Reason is that when attaching a file to a mail in Gnus, the MIME type is suggested by Gnus, and this suggestion contains the incorrect backslashes. Regards, Torsten. -- Torsten Bronger ------------=_1694652242-8886-1--