From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8KriE1YFcGeehgEAe85BDQ:P1 (envelope-from ) for ; Sat, 28 Dec 2024 14:04:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8KriE1YFcGeehgEAe85BDQ (envelope-from ) for ; Sat, 28 Dec 2024 15:04:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=DIzkfYqI; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735394646; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Q8iu8xocUo97YbRVghfWPKyDJr1PbPwrcLQ7RZpgBqw=; b=PTYlgg6Sa7S/HdyT22qOxXyosTGL0ulyCjmXV3zTMLMk2bsn5Pa644V4avR1WEvdilwxwb wjQbo+onBVoihixnebn28cEIP3Age2g5irWLQwxgWSIrklfP2f4BTI2EOnhCF6aZ0BQyBy 6E3B4U0GLiMJLO5wLiQvRAS6iI7/cI3crQB6k1Sn2f5K6Oa3xxvAaK5XE50LgQ2aNEYJLE bslDqgozuCYYfPHLT819jqQMKJ3T8q//R3+fYHwx49IBC4aY1szr4Yi9oewZNXQOtgYn7l 3ny1qG2fImQ6FLZ9DgPrWdYpegW9q8F/ok3yNmllXEWvH/8ZPaWmMIY49LBK9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=DIzkfYqI; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735394646; a=rsa-sha256; cv=none; b=GJSm/3AVsWtHiS0ub5TPNSWj4gZiCfQZZb2WjjcvOIfBHOcCcybRcVrTGbX6sGyZ8sqBI9 d1PQ1uwbI8JBDKfKCSIWpt44GscB3Qn3kHgD28ulmUKbMJ4kc4krzkbmTpVfMX92T9reyJ Jq8EctdPX2wmqoTQy/JDRK8kPCEnfTapC1DuDn2q48CtOMHb2CrJx1577KHB1klHK9cORh nBu3o+G0WgGQPmyWmPbAendlypOVfwdXGXdG0u6usuSXF7DDyv9ARvj4skG6RLCsaF7JKH 5WBs1Oc5UiXbelMQQhyLo+TFQSPFYjzILW3DNDNeB0eWKd+UusAjcs8rxQ7Y1A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E53625B1A2 for ; Sat, 28 Dec 2024 15:04:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRXPG-0001PJ-Dn; Sat, 28 Dec 2024 09:03:06 -0500 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 1tRXPE-0001Or-Sh for emacs-orgmode@gnu.org; Sat, 28 Dec 2024 09:03:04 -0500 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRXPD-0007Kx-17 for emacs-orgmode@gnu.org; Sat, 28 Dec 2024 09:03:04 -0500 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-29e91e58584so4890240fac.2 for ; Sat, 28 Dec 2024 06:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735394580; x=1735999380; darn=gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Q8iu8xocUo97YbRVghfWPKyDJr1PbPwrcLQ7RZpgBqw=; b=DIzkfYqI7mn75V6chuoGgYZfMXwvkJwib3GbRpW+ReLvHE0AAkfCVIDnewVu0KDASX DD0ehLMf2CYMTuSguXdNVgjomSh3d2676b3VoLg6L7BrSr5qW8I86zERkR7lpAawP3ET JWb4MaD3+9sBXjGewD5Uise2V873aq70Tl8CvIlW55Clwgy86g3AQvjaeBUjZJpubVQt vUr7LuVpCHZ72D1WtTy+gu5hbd5BxyCuE2RnhMT/xTDi158mv637Uhva7/BYAp5kpEuG tcEO7UiA8Q/SAHV1x9pDhxoHOAy01zOsgZ2vDb2N66Onhcu6OXgh7X1MS1UAPuQ6SwRy C6YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735394580; x=1735999380; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Q8iu8xocUo97YbRVghfWPKyDJr1PbPwrcLQ7RZpgBqw=; b=NJiugxwH7uPZ6qb54sQ3s8rr+YeKB5D0pZag5PI+J6SMl5mI7UWr1onMAmXg1Opic4 CwI1heDDBAXDVgetDysyTChv3WAN6vh4DjGCu6vZk4eyl7lm1FveQEvBsIK74WmlePNz 5jPjGbJBRsVigbLQnJ+lwku0i/Wjee8Qp8ctljEnKOgZZDnfNi+Ag1F/xu+Jk7M5lG+C aNp4Lq15q5gD5XKO+/ej9UHAQ8xMNFBhJKFpqWSehMkRuAFzKhNQfMMz5xqVyGBz6f/a qnsDn+XW1ptLLE8rvBiLUCowwxcUE+a6ttwJWrKWsH1ClfWQjjxmNON8bN5xMrY8omch YFWQ== X-Gm-Message-State: AOJu0YxtMM71pXlEEnNxr4+RxK60OxuIlsxrNHVYPALt9Tu957RLg4y2 IlV8AvCIez0WN8R6NeyFUT8UrARCLHZPOLA1o73Hb5tK5UpMcREJ7vsubcBO X-Gm-Gg: ASbGncsP3dGWwYe7xbFOYwStXXXfbdhJX7rfas9dkWu56jU+Pmza7tfsCm7ilwRhqQV xb8NX86D8H2ikaTzKKe8a7MGX6uE3+M/C/pvC8GyRUqgYfbh8qtH9A+v+pje4+WFqNB1CCz3nlh wgGekMBTtRwXHa+WkT4jJlW8vCFTufg3n6uh7HDe97g711lHYjcZ5oMVsuAmXSdfvetQvuydkCS xYWmvroHO20mVEPHxHTbnMmAhf7SAv3aSnQI5JkyAIq4SvDGil+ag== X-Google-Smtp-Source: AGHT+IFzeIB6/JDd3B8QlrfaQvbZSrE+e4lPoQjpSaOK7k685jRCUEqZxncIo5lC3iHOyKcoHh+LfA== X-Received: by 2002:a05:6a21:7e06:b0:1e6:531b:6e65 with SMTP id adf61e73a8af0-1e6531b6ee5mr158782637.33.1735394108713; Sat, 28 Dec 2024 05:55:08 -0800 (PST) Received: from rd-t460 ([2402:d000:8120:293c:78b6:c86:1bae:505c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad90b338sm16232925b3a.174.2024.12.28.05.55.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Dec 2024 05:55:08 -0800 (PST) From: Rehan Deen To: emacs-orgmode@gnu.org Subject: Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] In-Reply-To: (Max Nikulin's message of "Thu, 26 Dec 2024 23:49:39 +0700") References: <87pllx7219.fsf@gmail.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Sat, 28 Dec 2024 19:25:04 +0530 Message-ID: <877c7jq5dz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=rehan.deen@gmail.com; helo=mail-oa1-x36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: E53625B1A2 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.39 X-Spam-Score: -1.39 X-TUID: jGCUqDEHsCQA Max Nikulin writes: > Have you considered reporting a bug to Firefox? > > I have tried year old versions of Chromium and Firefox and have > realized that e.g. javascript:a="test" consistently replaces document > content. Chromium still discards expression value in the case of > assignment to "location". So the change is specific to Firefox > (including ESR channel) and perhaps an unintentional side effect of > another fix, likely a security one. I am not sure what I could add as my knowledge of what constitues correct browser behavior is limited. Feel free to do so on my behalf. >> Interestingly, the `org-capture` extension for Firefox from >> https://github.com/sprig/org-capture-extension continues to work without >> producing this issue (i.e. the link is captured and the webpage >> continues to be displayed properly). > > So Firefox and Chromium behavior content scripts has diverged. > Chromium asks permission on behalf of the current web page while > Firefox treats as the add-on permission. Likely it is a result of > > "(CVE-2023-25729) Extensions are not prompted before opening external > schemes, leading to security issues" > > Treatment of external protocol handlers is rather inconsistent in > browsers and it is unstable. Not sure what to say or do about this, but thanks for letting me know. I suppose it means that we should expect some further disruptive behavior to extensions (not just the insecure bookmarklets) using Org-protocol, but as you indicate it sounds like it is a wider problem.