commit 77b9cbe6c3064c1656fa5375f7d2d498e34a34e6
parent b198cea91f4056b0d7f5d31320b8e4348038c8e4
Author: grunfink <grunfink@comam.es>
Date: Wed, 28 May 2025 09:39:07 +0200
Added more checks.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/rss.c b/rss.c
@@ -149,6 +149,10 @@ void rss_to_timeline(snac *user, const char *url)
if (strcmp(l, url) == 0)
continue;
+ /* skip crap */
+ if (!xs_startswith(l, "https:/") && !xs_startswith(l, "http:/"))
+ return;
+
snac_debug(user, 1, xs_fmt("RSS link: %s", l));
if (timeline_here(user, l)) {