From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.orgmode,gmane.emacs.bugs Subject: Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Tue, 25 Oct 2022 23:03:00 +0000 Message-ID: <87v8o7qzff.fsf@localhost> References: <86bkq0qf8p.fsf@protected.rcdrun.com> <87bkq0t03l.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="592"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jean Louis , bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Wed Oct 26 01:04:08 2022 Return-path: Envelope-to: geo-emacs-orgmode@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 1onSxs-000ASW-JR for geo-emacs-orgmode@m.gmane-mx.org; Wed, 26 Oct 2022 01:04:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onSwT-00070J-Os; Tue, 25 Oct 2022 19:02:41 -0400 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 1onSwS-0006zj-4f for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 19:02:40 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onSwC-00051M-Dt for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 19:02:39 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 64DB7240028 for ; Wed, 26 Oct 2022 01:02:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666738942; bh=u1j+WGq3m+onAaJrHxuro2R3SaRvaIpMnHPqzyppjNg=; h=From:To:Cc:Subject:Date:From; b=Ayp9wR2TxegHzHSpu9W3gN+rZ+8ao5w/3wsniVFCuxQlQESJ0zzFEtQznv+FHjSdN j7FtDiEHjUXzZxAaeWrBuDpNXRrq9ysa+TZagOJzAXep01RPw3bFDg8uacxAhp6Xfa hmFquPCAkW6lV6BpaNvQjan7wahq+g6U5uX8AGGbzQwlZX5O7OEPR7SikMxVo1l3kU wWN5+729WX5pWOtkyNnR7RpY1U0EkqLZRGZcEEu5+AArT7LJdQ2MfGO+uIMH0uZdVX Y5y4DxPTQLT+9ppCp/zAaM2HOL9lt078iWn6peLx7Va+jxb2h1maOzxH4RkOvyVZcq cEXYNdYEEVJaQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MxnWs5H5mz6tmF; Wed, 26 Oct 2022 01:02:17 +0200 (CEST) In-Reply-To: <87bkq0t03l.fsf@web.de> Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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: , Original-Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.orgmode:149886 gmane.emacs.bugs:246179 Archived-At: "Dr. Arne Babenhauserheide" writes: > This sounds dangerous. Org mode can execute untrusted code, so this > could trick people into running untrusted code with the permissions of > their Emacs. > > Links in org-mode can run shell scripts. Yes, they usually ask, but this > may be changed it a local Emacs, trusting that it will only be used to > open trusted local files. You are exaggerating the situation. The "problem" with shell links you are describing is a question of setting variables and is also disabled by default. eww-mode, when loading Org page, could simply set org-link-shell-confirm-function to its default value. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at