From 418581a71dc1a540a4a18b439aa215b143706c80 Mon Sep 17 00:00:00 2001 From: grunfink Date: Sun, 11 May 2025 18:59:28 +0200 Subject: Minor tweak to link extraction regex. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 48a999a..a7e133a 100644 --- a/activitypub.c +++ b/activitypub.c @@ -3037,7 +3037,7 @@ void process_queue_item(xs_dict *q_item) const char *content = xs_dict_get(msg, "content"); if (xs_is_string(source) && xs_is_string(content)) { - xs *links = xs_regex_select(content, "\"https?[^\"]+"); + xs *links = xs_regex_select(content, "\"https?:/" "/[^\"]+"); const char *link; xs_list_foreach(links, link) { -- cgit v1.2.3