From 38f850161c75a230d3bbd5180e57f6ea4e70d8a5 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 2 Nov 2022 17:07:27 +0100 Subject: [PATCH] b4-config: linkmask: encode < and > chars Encode < as %3C and > as %3E in the linkmask. This gets used in the "Link: ..." line written to commit messages. Reasoning is that at least gnome-terminal will break the link at the < otherwise, making it harder to right click and copy the link to paste it into another VM to open it in a browser. That's how everybody does it, right? Use %% instead of % for proper escaping with python's %-formatting. --- .b4-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.b4-config b/.b4-config index c764ae91..2eeda0fc 100644 --- a/.b4-config +++ b/.b4-config @@ -3,7 +3,7 @@ [b4] midmask = https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%s - linkmask = https://lists.sr.ht/~postmarketos/pmbootstrap-devel/<%s> + linkmask = https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%%3C%s%%3E send-series-to = ~postmarketos/pmbootstrap-devel@lists.sr.ht send-endpoint-web = NONE backend = sourcehut