From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ignacio Casso Newsgroups: gmane.emacs.bugs Subject: bug#55926: 29.0.50; message.el does not normalize In-Reply-To field from web links Date: Mon, 13 Jun 2022 15:17:15 +0200 Message-ID: References: <87tu8ozqev.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36799"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 27.2 Cc: manikulin@gmail.com, 55926@debbugs.gnu.org, larsi@gnus.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 15:49:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0kRQ-0009N4-L3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 15:49:16 +0200 Original-Received: from localhost ([::1]:51572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0kRP-0007o8-8K for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 09:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0kHX-0003o4-Ad for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 09:39:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0kHW-00076Z-90 for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 09:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0kHW-0004eY-6H for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 09:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ignacio Casso Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2022 13:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55926-submit@debbugs.gnu.org id=B55926.165512748217794 (code B ref 55926); Mon, 13 Jun 2022 13:39:02 +0000 Original-Received: (at 55926) by debbugs.gnu.org; 13 Jun 2022 13:38:02 +0000 Original-Received: from localhost ([127.0.0.1]:57658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0kGX-0004co-KQ for submit@debbugs.gnu.org; Mon, 13 Jun 2022 09:38:01 -0400 Original-Received: from mail-oln040092075065.outbound.protection.outlook.com ([40.92.75.65]:52100 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0kGV-0004cQ-IY for 55926@debbugs.gnu.org; Mon, 13 Jun 2022 09:38:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZmCW33/rg1Q6koI+Ik0wLmHrlqwomubLGfkYMrc7PO4RdlTz5RORXnEx6DyI48WrlDE9nFDHiw2Z4hkCG1UfJRG9tU+YDHpnH9GvJbGcCdTVA4Zo9HlCJRkBPQY1wRSL/TXnB9qXQmSQfzDoF44fPwTiMDVCAOHcuwgzruLxyyHPznS+pmbFPJqrwLywc6YgruqFeqXsfI5JvhaSmj0c9o7U2wOM7gmN/nniQbQQkly4AP3pWa4w6BdkAHpoNkyy9qV5UppMYGam99b1y4mJtpyzlFdmCF5cW0TTecDsOQjHq0PeVbmpebsRzpt9KlFlhxYLcWUz8LKizk5Z0Yss4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1nlKMtjPvyo5nO24qCMVsqhlBL9gfaIEXOmxHVMQzsM=; b=HPc1ZLSJsip02YicbMRMlpa7Np+HnpVwc4XGPztwxwRuoL5e9myQEt4gzTfp3oVUARGZXoj19r5wLntnWNUrSAhNCLCNpIfoLDlnyxWB3WN1ihOGzkoiViEmmYS6faAjFKSL1zT0cQ3HL2raT+SABTFxE24g5m3/sA9Xcn5dtVS3908kjo1fAFirhlzTDWCX1Yfc3qyz/QskChgC82AfaRWHumiK4YkRIu8CaE4DZjoDdGSMlVCN4gvnAu3EaooPcOty7ooDigxmPaM8CweUMc00tWvYajk/nRGpRjOCbD7wa7NRt+pkNIcyfmEy1JlbGpZLuoxZM7d5OqUVow1Cag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1nlKMtjPvyo5nO24qCMVsqhlBL9gfaIEXOmxHVMQzsM=; b=cx7A/k6EVsEdNkFqrooQxI4Cu+Om69xCGD/hpooDvFj5bdR+6jIoGH3+b3FiJhVHM0BwppgBWEe2kpX+xrCNlTPJy1bfM2pMYoFftc+nKaVE4nLij7cS+g6ky9/RPi1wpX9wRjUFdmi1P/B7qcWy9qPTAvyd759RphtrBPBQfBMBaknHwxcYIb+P/pDf8GHJI124VknRoO69dG0vshX43lGQ05CSo6+o/8tEMDfmFg0gXVPyPtu1AWAZDBKUoYmCJQ87rj2XEiwNCFUzhdKjdNY6gZK/4cMxxYv39jkOAmAPkGsr5ujnhkgTZQPZdL9n2/6l/IqtL5AU6hUX0V9cPA== Original-Received: from DB6PR0601MB2087.eurprd06.prod.outlook.com (2603:10a6:4:4f::26) by HE1PR06MB3001.eurprd06.prod.outlook.com (2603:10a6:7:1f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.17; Mon, 13 Jun 2022 13:37:48 +0000 Original-Received: from DB6PR0601MB2087.eurprd06.prod.outlook.com ([fe80::cdbe:e542:a1b6:1a2]) by DB6PR0601MB2087.eurprd06.prod.outlook.com ([fe80::cdbe:e542:a1b6:1a2%2]) with mapi id 15.20.5332.020; Mon, 13 Jun 2022 13:37:47 +0000 In-reply-to: <87tu8ozqev.fsf@gmail.com> X-TMN: [YCWxZ18mA6z4kcnI4bhO+jpS51I1YFWY] X-ClientProxiedBy: PAZP264CA0140.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1f8::7) To DB6PR0601MB2087.eurprd06.prod.outlook.com (2603:10a6:4:4f::26) X-Microsoft-Original-Message-ID: <87tu8oelax.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03050389-d7c8-4c73-24fd-08da4d41e74f X-MS-TrafficTypeDiagnostic: HE1PR06MB3001:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Uwosvnnq9o09Ad/dn903HVYjCQRQa0GMX6083RplXYAw1Erl32C5t9GvZKc6NNcTR80jEumUb1uHf8dVMQLM7ed9fYXg9F5/etOt5La9pIdVgdD8ghfpxGYYkYBeVxqZ30fweP7dFXipBHJCSsOWBerMipGatGyQLLM/Uy+x1ekE+Tk9GP046VOfFjFe3LqisWl9qGbt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+4NZpytv9tnZq+iZw+OIVYBo0RV94qNpBZEFEKha5NHBPfFt/Em9b2uUl+IywXEsRhGJ9yIXmr/exZwljb/XWCGkOw4igiNPDe3UuOOugYFpUAaFwz0TvZzLM9+BTpQXJVyM8BuAkvrJxm 13BvMw3pAz4f/F040VAwkQdt3SfHSRPViMUseREBDVqbnyg5PojMZyvsUCSwm9wVkmpuUuY68aGrhD3nYkY82d4e00AgBhlEEo X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 03050389-d7c8-4c73-24fd-08da4d41e74f X-MS-Exchange-CrossTenant-AuthSource: DB6PR0601MB2087.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2022 13:37:47.9032 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR06MB3001 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234402 Archived-At: > One way to check is to put a call to `message' in `message-mailto' > just after the call to `interactive' to log exactly what's being sent > to emacs. > > Something like > > (message "message-mailto received '%s'" url) > > and then take a look in "*Messages*" I've advised `message-mailto' with a message as the one you suggested, but it seems that function is not being called. What is being called is `browse-url' -> `browse-url-mail' -> `compose-mail' -> `message-mail', already defined in message.el. By that time some fields, like "from" and "t= o", have already been extracted from the URL, but the In-Reply-To field is still in the OTHER-HEADERS argument, pending to be parsed. > I took a look at `message-mailto', and it pretty much just inserts > what's been passwed to it, so I suspect it=CA=BCs an issue with the websi= te > reply button. So yes, it probably just inserts what's been passed to it, and if it's the reply button the one that should ensure that the In-Reply-To field is normalized, then the bug is in that side. Still, maybe message.el could ensure that it's normalized anyway just in case? Regards, Ignacio