diff options
| author | grunfink <grunfink@comam.es> | 2025-05-11 18:59:28 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-11 18:59:28 +0200 |
| commit | 418581a71dc1a540a4a18b439aa215b143706c80 (patch) | |
| tree | a54ad814a911e59e545101e6cf33fc5c85e41e3a /activitypub.c | |
| parent | 0d0f34c94d4826e5c084073f4e9a9393d113f133 (diff) | |
Minor tweak to link extraction regex.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |