aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/url.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 7be9d020a..04069a853 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -2894,7 +2894,9 @@ 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 != '<') {
- return FALSE;
+ if (last + 1 < cb->end && g_ascii_isspace(last[1])) {
+ return FALSE;
+ }
}
}