From 2542a7773711da8d6cea85a007bcc5a2e2b2ffb0 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 19 Feb 2022 13:54:30 +0100 Subject: sfeed_opml_export: improve comment In theory feed names can contain newlines, TABS, control-characters or start with echo options like -n. This is not recommended and not checked. URLs cannot have these characters: they should be percent-encoded. echo is typically a shell built-in and fast, so this trade-off is done. --- sfeed_opml_export | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfeed_opml_export b/sfeed_opml_export index 9c7afeb..eb22520 100755 --- a/sfeed_opml_export +++ b/sfeed_opml_export @@ -27,7 +27,7 @@ loadconfig() { # override feed function to output OPML XML. # feed(name, feedurl, [basesiteurl], [encoding]) feed() { - # NOTE: TABs in field values are unsupported, be sane. + # TABs, newlines and echo options in field values are not checked. echo "$1 $2" } -- cgit v1.2.3