snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 418581a71dc1a540a4a18b439aa215b143706c80
parent 0d0f34c94d4826e5c084073f4e9a9393d113f133
Author: grunfink <grunfink@comam.es>
Date:   Sun, 11 May 2025 18:59:28 +0200

Minor tweak to link extraction regex.

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) {