From aa69aa95cdcb65e5a999b2cb61799a2a0e1cce3a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 Mar 2001 14:36:23 +0000 Subject: Fix a bit: [mailto:foo] shouldn't grab the ']' * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736 --- e-util/ChangeLog | 5 +++++ e-util/e-html-utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ee35caf134..423d09e209 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2001-03-15 Dan Winship + + * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't + grab the ']' + 2001-03-12 JP Rosevear * Makefile.am: update cflag macros diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index 41a5a25d3b..d1f069661e 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -49,7 +49,7 @@ url_extract (const unsigned char **text, gboolean check) end++; /* Back up if we probably went too far. */ - while (end > *text && strchr (",.!?;:>)", *(end - 1))) + while (end > *text && strchr (",.!?;:>)]}", *(end - 1))) end--; if (check) { -- cgit v1.2.3