From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#55926: 29.0.50; message.el does not normalize In-Reply-To field from web links Date: Tue, 14 Jun 2022 18:27:40 +0200 Message-ID: <87zgifyzur.fsf@gmail.com> References: <87tu8ozqev.fsf@gmail.com> <83pmjctter.fsf@gnu.org> 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="8121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, Eli Zaretskii , 55926@debbugs.gnu.org, ignaciocasso@hotmail.com To: Max Nikulin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 14 18:28:36 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 1o19PA-0001tQ-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 18:28:36 +0200 Original-Received: from localhost ([::1]:36336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o19P8-0002ue-Ic for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 12:28:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o19Od-0002tZ-49 for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 12:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o19Oc-0007rT-Pn for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 12:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o19Oc-0001Sm-IE for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2022 16:28: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.16552240725605 (code B ref 55926); Tue, 14 Jun 2022 16:28:02 +0000 Original-Received: (at 55926) by debbugs.gnu.org; 14 Jun 2022 16:27:52 +0000 Original-Received: from localhost ([127.0.0.1]:35585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o19OR-0001SL-Ui for submit@debbugs.gnu.org; Tue, 14 Jun 2022 12:27:52 -0400 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:45020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o19OO-0001S6-5Y for 55926@debbugs.gnu.org; Tue, 14 Jun 2022 12:27:50 -0400 Original-Received: by mail-wm1-f42.google.com with SMTP id m32-20020a05600c3b2000b0039756bb41f2so5083489wms.3 for <55926@debbugs.gnu.org>; Tue, 14 Jun 2022 09:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=EoTgvRcc8coIGBw/ITmKyFwmz2o3OgJ9UUBFvEbCPeA=; b=nUlKtWkIHMs+IedWgcfDvU2aJgMqOlUdo91uoASl2SC7iJjLA2gcGyywAYjBwnaJN2 Wp9Y1UAYjsCd/0+EvOek5txDy4xOVHsTZhchL8De6k16zWRNFUcuZpYnnOGr2+cUlLT5 Cl8MymKhMa8CySVWYEWxp+uN6s6TPiH5b565efyvsk5lBKmOwMtVeVxJRLvJ5x96dDBz qsd8HtAZUxDyli/9cc0lPPczxyurgG+Ovgs1uGTXH6gcAQNyqcI2MwMZt3Qi8ehkiOHq vu/JggJfqvrYm7dOiJhLrdMBl068Jwd/9toJWWU5wXfzASf2NE3B6jtt2+i1ETeiH4lw dwhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=EoTgvRcc8coIGBw/ITmKyFwmz2o3OgJ9UUBFvEbCPeA=; b=JLx2liQKz1tk3JrhPvF36PYR3Bf/tY/ojEN1DNUEBWL+4lLMLx/Ejvc/k3HHcw5b7d O3Yz1xcUUmpYdxsr7fRcTz0Et+qIS+jgkDvByQePL8GXzIC4jTZrQr8ACULaxjaVtDhH VfjPQSzqVz1I0h8E2Al9deSBciJDfVLbvIwmmiNxWuC/1tiNOkkUGLC+x4vwHGoidAOj tSV5Su4/gPVydfUY6qi5o4M9caGyuH+IIcyDMAkPoUa5ljnZ0O7oLqrkINi5b3yLjGPg sWkc+xO0fa/56NogTFU9ejHJKybja16q5hDUF4vYnR44RMJxmOm9O/tpQrcY0K94ghtu Uz+Q== X-Gm-Message-State: AOAM530Nq3lLZke3TP0o4yt1S9SjC5vcUBCM0bVVEooo/bgKroD/GVwH 24Eap1KJjF04HBld9aezGVVA4lba9do= X-Google-Smtp-Source: ABdhPJzDCmavHmsYYiFfTs4+G+FrOeNFXqLP0RvEBUjZaltOFAirWDs74f9iV0XWeFmTJqluS32X2A== X-Received: by 2002:a7b:c11a:0:b0:39c:4cd1:543 with SMTP id w26-20020a7bc11a000000b0039c4cd10543mr4920027wmi.203.1655224061879; Tue, 14 Jun 2022 09:27:41 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:c43e:652:64b6:8eb]) by smtp.gmail.com with ESMTPSA id k7-20020a5d6d47000000b00218453adaefsm12190355wri.101.2022.06.14.09.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 09:27:41 -0700 (PDT) In-Reply-To: (Max Nikulin's message of "Tue, 14 Jun 2022 23:11:45 +0700") 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:234514 Archived-At: >>>>> On Tue, 14 Jun 2022 23:11:45 +0700, Max Nikulin = said: Max> Unsure if it is possible to do something really weird through a Max> specially crafted mailto: link (by adding some special headers), b= ut Max> it looks like it is possible to add something that sender may not = like Max> to see in its message. So it is better to sanitize input link Max> parameters that are used to generate headers. I=CA=BCm not aware of any code in Emacs that calls `eval' or similar on parameters passed to `browse-url' or `message-mailto', but you never know. Don=CA=BCt use Emacs to connect to your bank's website :-) I think Lars' changes here are enough. Robert --=20