From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DA88F1F453 for ; Thu, 27 Sep 2018 16:08:40 +0000 (UTC) Received: by mail-qk1-x72f.google.com with SMTP id 80-v6so1954728qkj.1 for ; Thu, 27 Sep 2018 09:08:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=uD2wO7D6QnKKiWl+a0LK+pukJG7CK2A1+onQs/IL5oo=; b=cA8Gz3iTz8zwNJgDuNFivRYh5twZEdNgtsvIbA6BPJUlRdr2upVWbiYUT4f2Q31FV9 M10WuGv69xEEnte3Os1SN374nrQBd/BwbXZOmpjXAYZd6wgNZlT4FBQWuGSb4eqjXJUK i1KhzNTiVU8w9Ywr875lNqGuzDXLI0IFy8dms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=uD2wO7D6QnKKiWl+a0LK+pukJG7CK2A1+onQs/IL5oo=; b=tnEhrUarm5+8R1dJqGVWqrdGSO0tTt5mtoUmtSy/6d9n2smA1JGL4P+As0tKSh7YRa /k/ejcW8pHNXjptu0XDQimKjBtrJMhM7MQgIxRCsNhWMUTd2ghKD07eKCCI+GgacTKgJ eIRns5us68j5xOgkwja5c0IyuVu6j4czSpdp61grGSphbYtucU8djlXU+meoVtFo42g4 GI8p4v6OYDKtCXngoQWIqdalIgBVONnWpiHF/N7ITIM8FE1wtgWZF5Ev1kTyeD2zRyNO 1C1AsuER79Z4Gg9UKp7AbZKt5ErGsSOwFZaFe4ftzMXWPYQkyj0LDTbXe5wP7F+NNdHi sbfg== X-Gm-Message-State: ABuFfoi0apbpQvBNNQOHCHxfoy3CGkoBgsk8ngqHvk18+8gHqXDk1PwT wTyxiWUW6FlVpK35V4YQ0Fzl0P1NGQvkDw== X-Google-Smtp-Source: ACcGV623jPNjTakHH2vhYBRMPN8HJIbxzFyKdhcI1qhJWjBd5bjATYSJ6galoAmo3r2QHZuKGCydhg== X-Received: by 2002:ae9:dd82:: with SMTP id r124-v6mr8789456qkf.57.1538064519635; Thu, 27 Sep 2018 09:08:39 -0700 (PDT) Received: from puremoods ([185.232.22.59]) by smtp.gmail.com with ESMTPSA id v18-v6sm1579168qtj.94.2018.09.27.09.08.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 09:08:38 -0700 (PDT) Date: Thu, 27 Sep 2018 12:08:36 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Stripping multipart/alternative HTML parts instead of rejecting Message-ID: <20180927160836.GB16601@puremoods> Mail-Followup-To: Eric Wong , meta@public-inbox.org References: <20180925171657.GA2950@chatter> <20180926194705.oofeug5fxtiiqdwe@dcvr> <20180926205700.GA11506@chatter> <20180926224200.nwmeqjc2jn4ij5dw@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180926224200.nwmeqjc2jn4ij5dw@dcvr> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: On Wed, Sep 26, 2018 at 10:42:00PM +0000, Eric Wong wrote: > Konstantin Ryabitsev wrote: > > How do messages with a HTML part get displayed in the web view? Does it get > > offered as a download, or ignored completely? > > Offered as a text/plain so viewable and downloadable, but not rendered > by the browser as HTML (because of HTML/JS/CSS injection attacks) > > Recent example here: > https://public-inbox.org/sox-users/5baaded3.1c69fb81.1ab9.5c49@mx.google.com/ This is what I was looking for, thanks! -K