From: Vsevolod Stakhov Date: Tue, 25 Oct 2022 06:19:43 +0000 (+0100) Subject: [Minor] Another small neat X-Git-Tag: 3.4~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d475148051a883f50c60d482284ef3d32f6b82c6;p=rspamd.git [Minor] Another small neat --- diff --git a/src/libserver/url.c b/src/libserver/url.c index 04069a853..8378c1637 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -2894,7 +2894,12 @@ url_web_end (struct url_callback_data *cb, if (last < cb->end && (*last == '>' && last != match->newline_pos)) { /* We need to ensure that url also starts with '>' */ if (match->st != '<') { - if (last + 1 < cb->end && g_ascii_isspace(last[1])) { + if (last + 1 < cb->end) { + if (g_ascii_isspace(last[1])) { + return FALSE; + } + } + else { return FALSE; } }