]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Do not sort part urls, it was added by a mistake
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 21 Oct 2022 22:58:31 +0000 (23:58 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 21 Oct 2022 22:58:31 +0000 (23:58 +0100)
Discussed with: @citrin

src/libserver/url.c

index 7892149af93c31bef2fd3ef2379d5947968b75c1..805e3d65de574f5d67c358d6f57d5196c5badb4f 100644 (file)
@@ -3553,7 +3553,6 @@ rspamd_url_text_extract (rspamd_mempool_t *pool,
        rspamd_url_find_multiple (task->task_pool, part->utf_stripped_content->data,
                        part->utf_stripped_content->len, how, part->newlines,
                        rspamd_url_text_part_callback, &mcbd);
-       g_ptr_array_sort (part->mime_part->urls, rspamd_url_cmp_qsort);
 }
 
 void