From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65973: [PATCH] ; send filename, not full path, on EWW form submit Date: Fri, 8 Nov 2024 01:33:36 +0000 Message-ID: References: <86bjyttxql.fsf@gnu.org> <4215339a-e797-6198-2e40-8d577e1fec42@gmail.com> <86ttcjr2di.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, ozzloy@challenge-bot.com, 65973@debbugs.gnu.org, ozzloy@gmail.com, sebastian@sebasmonia.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 08 02:35:34 2024 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 1t9DuQ-0002WG-Bv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Nov 2024 02:35:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Dtw-00083f-J3; Thu, 07 Nov 2024 20:35:04 -0500 Original-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 1t9Dtv-00083R-Df for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 20:35:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9Dtv-0000kv-0R for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 20:35:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=aFvnoUSg4PvYGg86wmo4K0+1rC52mCt8owhEiIEp2TU=; b=dAGPk7OLnyzsJL18YJ21tf6F5Biko2TGW6bDf7jz09xxu/n0m4lDyhyyywMKfrfBH1d6ETwzjd9AmTcdiai7V+MSXI92Kvu84dsGFD+0G5oW42JAQcE2FX8oOQfLd55u5SwqCZ+GCphEzhYAAnWwyW+e3s0o4WXCVqmFlaQYAiYbyOrZBfMJofD4165ZzU08wJmfR2EbVSU85Q+lk6mNQZp3SFoP3+glpjMhBIHlfHPiSHxA/YwXWVf0b4jmFZIwo6iiG8XqhjOs2U29KzcvtLsGwwENsWTX6d/qpJMIhR54VAshNGHY2oT0GFnRNK5egbp7tr01Dy93kRBxozHUdg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Dtu-0007jE-Ls for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 20:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2024 01:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65973-submit@debbugs.gnu.org id=B65973.173102969229685 (code B ref 65973); Fri, 08 Nov 2024 01:35:02 +0000 Original-Received: (at 65973) by debbugs.gnu.org; 8 Nov 2024 01:34:52 +0000 Original-Received: from localhost ([127.0.0.1]:50427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Dtj-0007ii-4N for submit@debbugs.gnu.org; Thu, 07 Nov 2024 20:34:51 -0500 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:49642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Dta-0007iL-Ui for 65973@debbugs.gnu.org; Thu, 07 Nov 2024 20:34:48 -0500 Original-Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5cef772621eso1730251a12.3 for <65973@debbugs.gnu.org>; Thu, 07 Nov 2024 17:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731029617; x=1731634417; 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=aFvnoUSg4PvYGg86wmo4K0+1rC52mCt8owhEiIEp2TU=; b=NXI7nPthY5qo2leKSWFdEAU4z02VfXy6/fZh8/ZO3rI1jV8/G9NA8YubgBimZVKHyk uyCzDSvK6eKXb6gvqVF//+JZKiCR3M0m0kRKNzUtK1NBjCGudbxqT/+w3xfmh1a32Wi4 Gz6xfVbEVk0jg7MYdoEEJL/rbp7lV8dMSkvuVZIQtA0HkOL2Zn85pBFal4Adufi/2j7I z4aPFKAoTwGQOmyrt492BfNeP8B79ZN2LdGQ8wNhg8bl/rqSALeVkyQKzNVBUzjPCwP8 dazR6OmrEkbwdOEfKI+cxYoec8+1yG6bGRQr6HdnR3AElqOV3Np21Ct7qLcwEW7BAzBo +UAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731029617; x=1731634417; 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=aFvnoUSg4PvYGg86wmo4K0+1rC52mCt8owhEiIEp2TU=; b=qte9GGedW/j+QPbv0P+zqahLqGeuI/lI49PdU/izLP/A9kg01oQ7CQZqS/+mae+4Ny N3YwF/0g+ALY98DGmu5rt/qeEuSXB+mEMk+/lp5WCg+sAAtMjAvxD7PLMMfT7r2Ayw6k WAviuKu7EBxdP2a5ZD0tgwsf0Ur9PBkPD33toygbcKBPht0hzeODMFgoPKEKx6l5FUzS cGLNYXgGlqgz5Av/qA0iM7HkNm8wXjlFpBMBo+/vJ3JJVgyBOwiIBvqngG27xtf3Rllw fSRKRPYNCmI5v/9CNKcbgLRCtMnkWxvttlybXJQLmZu6AHdDi8r6R9lUmZh+c6ZLLdPQ T80w== X-Forwarded-Encrypted: i=1; AJvYcCUkq3HlV2Ey9/kSgBVCXXdg3JBObggv9P5DaSE4t+51thzVPIS8jtL4xCNEnv5dSPd9/QnH7Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YywaoKvaJTM+vC7ep/5qJ37v7ne/cVhl14CjaI49iJOeixyyVoZ xWc9viS7XdU/MOCVaC8Bo6ULi3jXDtEReLqwLj/xrEdJBZHlYnFDnrMg+lYuIM3kZKB/sRLPbvl LrOcfK3ExIRMVBhNRcV7AfsIC2dQ= X-Google-Smtp-Source: AGHT+IG+1IkCb6nhtrH2RuV82CSQg4l0AwJDJx4EbXEWhCpEKlIkJBio2F4lwIRkJaTJHa3JRmaWIs58zK9pBPcpQdw= X-Received: by 2002:a05:6402:42c6:b0:5ca:1598:195b with SMTP id 4fb4d7f45d1cf-5cf0a45df77mr764735a12.28.1731029616502; Thu, 07 Nov 2024 17:33:36 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 8 Nov 2024 01:33:36 +0000 In-Reply-To: <86ttcjr2di.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295049 Archived-At: Eli Zaretskii writes: > The private information can be in the file name you send as well, so > this is not a convincing argument. True, but then at least it's obvious to the user that private information is being sent. Leaking your username on file upload is not something that I believe most users would expect. I didn't, at least. > But since the RFC says to ignore the leading directories, I think the > change is okay, provided we describe the rationale in the comments to > the code. It is very unusual thing in Emacs to remove leading > directories from a file name, so doing so generally begs for some > commentary. It seems like we agree then, thanks.