Sorry, my mistake. >>>org-protocol://store-link?url=foo&title=bar<<< works.

Am Di., 1. Aug. 2023 um 15:38 Uhr schrieb Michael Dauer <mick.dauer@gmail.com>:
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 <mick.dauer@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>