diff options
| author | grunfink <grunfink@comam.es> | 2025-05-28 09:39:07 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-28 09:39:07 +0200 |
| commit | 77b9cbe6c3064c1656fa5375f7d2d498e34a34e6 (patch) | |
| tree | 9180cce51e3d227531c09742469c2950463cca68 | |
| parent | b198cea91f4056b0d7f5d31320b8e4348038c8e4 (diff) | |
Added more checks.
| -rw-r--r-- | rss.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)) { |