From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qiRkMUELyWSxYwAASxT56A (envelope-from ) for ; Tue, 01 Aug 2023 15:40:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0N1dMEELyWQV1wAAauVa8A (envelope-from ) for ; Tue, 01 Aug 2023 15:40:17 +0200 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 3A716581FA for ; Tue, 1 Aug 2023 15:40:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=GjVnPrX5; 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=1690897217; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=/y5hgdmjj241bOq/aAKFokVjzz30SvVZD8l4AIKIf04=; b=rIhzCp/0J9mfUq1pk0siCfMjYVsvWyRbl3hkE6Ck9GxDVqAB+OZMXSywdnCqMJuLWr6bm6 s0cCYrkCLIF6MICjM2dCUS117O/2xxyi92O87xDz433Iy4dIdqMyYuxqvq01vlYhRPNQJs Pb1wmwPyEtkc6bnRYMxzVyTbjtUbn4sH0ueh0ioUJfJBJl3JTv/kAYE+tn7T1d05wJFqbS 1mw+5Z3myrop6ONFDEuz/aO2MRi26liAzaLgcmvO5jJRgc/1LXbI3OuEwIitxBsz0+UGWo vd3kLAVAQa+v8XrzPAI8w3Hy4ArCXKJMIZrXEy7qk2251KrBcn1ok3fvjHtHzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690897217; a=rsa-sha256; cv=none; b=KtPkr6Tbo2AxU+gCk+n0vW7CeTThC+vPTfTqU0u1gMfpnwiXtn+7hcsVhUCWFOScKrIZYH Zbwe35YTsVYx8owI/WvCVVpB9sr7YqNf6rVXAyTZSl7MncfTY2M14ACc6/Z5+D0/dHp3vv pZyNkapuYgj4C3ptW/qs7Q8mOIID9BQJAbJnyfScDBFw8EZi5FmcuHHmeeECku3npAjxiW gOSgiQDhTdRlTrQtiOpwHIiKwr/2W7H2lp1vqEHTSxFEv5+ms/JPy4hQURFbBl7vN0BSCK N8c40XJ1a/9M/IeRjWCW70/kEfjGOvHoeE8wotMmlQTBGISXJHgPf47i7eFOoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=GjVnPrX5; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQpar-0007FJ-1L; Tue, 01 Aug 2023 09:39:21 -0400 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 1qQpak-0007DS-75 for emacs-orgmode@gnu.org; Tue, 01 Aug 2023 09:39:14 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQpai-000507-Ct for emacs-orgmode@gnu.org; Tue, 01 Aug 2023 09:39:13 -0400 Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-63d48c3d242so30464206d6.2 for ; Tue, 01 Aug 2023 06:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690897151; x=1691501951; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/y5hgdmjj241bOq/aAKFokVjzz30SvVZD8l4AIKIf04=; b=GjVnPrX5V8wqVGS3FdLWIcW41mAcnWGn3FLUN2vdlKF2wow6lQ+qyhb8QO2QQD1oxW +oEv9Xkt2F+WtrKjbwHZSsnwPLUbOP7EcuQs5MgTer7gi7cf10kELhXIyMHIBBy18XoR v6pETOl4w/+ZsQlFkReNXgQ9Fnd1AJl6/Iveq90OLhjoQP/naXZx8yKGniUfubArjYPS zHVir28TjaE3ztbWI2LfPfA0lk6Nv8YznVDALn4ZSptlM4tDoxhAbzy9pbG8ntDHFcot 73c9e0JrMUaF75IIOjVcQ4So901wT/+fynBNdR/LhTNcXqDCRMnfSU3ir4lf7UF9dk6X Nrtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690897151; x=1691501951; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/y5hgdmjj241bOq/aAKFokVjzz30SvVZD8l4AIKIf04=; b=ki41pNyou84PKj9HUMRgakZ229+x0LQsXnz7CatUmPgXTi4ZfcRkcpS4DHZRPagrs0 u39Xvj10h4lXSmY3ESVY6Jmx3MjghCAWRAC/9bGWY+zPvWLq73tZNtXS6hcOz7Gn79jd ivizsKiStQ3N49/DgPAwAITKWKTnY5vRZifB7H5HJnw0P4gBhGA3JmzMIWZp3/C6dWIu zBjjSE7gvjzzyXW5HPhY+fJSI8oLwE1RSED2k8B+SWR0EmZ21tbCg9EbenXaTuhdQrUY nBnKil0yVUftJYWS6ALk2krrq4UUtLXn37J27vVZzuUv3RbgdSlfchxWK4B64qLQpkA8 Z3Ug== X-Gm-Message-State: ABy/qLYYQaLWNkJNlfzYVUfIMd+8UTn2+/yWbOffuKollhuDa28dQDcc O7l0cE4n23FIr5EWvdQW1D2va42ySJIlnPL+GKdzuE1u+W4= X-Google-Smtp-Source: APBJJlE0+YtPUBSQZiBm72kzDNKH2IceDcj4FKU//OUBn135g9m12vjSXdTBmBqOy88XDJZVsTi/LsxtMUz2gdMUmbo= X-Received: by 2002:a0c:e204:0:b0:635:f35c:3f87 with SMTP id q4-20020a0ce204000000b00635f35c3f87mr15212032qvl.8.1690897150997; Tue, 01 Aug 2023 06:39:10 -0700 (PDT) MIME-Version: 1.0 References: <87bkfrotsn.fsf@localhost> In-Reply-To: <87bkfrotsn.fsf@localhost> From: Michael Dauer Date: Tue, 1 Aug 2023 15:38:59 +0200 Message-ID: Subject: Re: BUG: org-protocol broken To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000097a310601dcac53" Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=mick.dauer@gmail.com; helo=mail-qv1-xf32.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.66 X-Spam-Score: -6.66 X-Migadu-Queue-Id: 3A716581FA X-Migadu-Scanner: mx0.migadu.com X-TUID: sueKvqBKMd/D --000000000000097a310601dcac53 Content-Type: text/plain; charset="UTF-8" Just look at the first examples, which are 1-to-1 copied from org-protocol code/documentation. org-protocol://store-link?url=foo&title=bar is not working. And this is exactly what store-link is for. Am Di., 1. Aug. 2023 um 14:01 Uhr schrieb Ihor Radchenko < yantar92@posteo.net>: > Michael Dauer writes: > > > emacsclient "org-protocol://store-link?url=http:123&title=t: w: q&a - r-s > > (a)" > > shows *ERROR*: Wrong type argument: arrayp, nil > > > > IMO the last example is a fully plausible link. I actually need it to > > create a link which then calsl e.g. the outlook protocol. > > "&" in title is ambiguous - it interferes with "&" in the protocol URI > scheme. You need to URL-encode "&" to escape the "&" that are actually > parts of key values. > > > ~2 months ago the same links worked fine. > > We did not have any significant changes in org-protocol for years. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000097a310601dcac53 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just look at the first examples, which are 1-to-1 cop= ied from org-protocol code/documentation.

org-prot= ocol://store-link?url=3Dfoo&title=3Dbar
is not working. A= nd this is exactly what store-link is for.

Am Di., 1. Aug. 2023 um 14:= 01=C2=A0Uhr schrieb Ihor Radchenko <yantar92@posteo.net>:
Michael Dauer <mick.dauer@gmail.com> writes:

> emacsclient "org-protocol://store-link?url=3Dhttp:123&title= =3Dt: w: q&a - r-s
> (a)"
> shows *ERROR*: Wrong type argument: arrayp, nil
>
> IMO the last example is a fully plausible link. I actually need it to<= br> > create a link which then calsl e.g. the outlook protocol.

"&" in title is ambiguous - it interferes with "&&qu= ot; in the protocol URI
scheme. You need to URL-encode "&" to escape the "&&= quot; that are actually
parts of key values.

> ~2 months ago the same links worked fine.

We did not have any significant changes in org-protocol for years.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000097a310601dcac53--