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
This commit is contained in:
Dan Winship
2001-03-15 14:36:23 +00:00
parent e9c90b7434
commit aa69aa95cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-03-15 Dan Winship <danw@ximian.com>
* e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't
grab the ']'
2001-03-12 JP Rosevear <jpr@ximian.com> 2001-03-12 JP Rosevear <jpr@ximian.com>
* Makefile.am: update cflag macros * Makefile.am: update cflag macros

View File

@ -49,7 +49,7 @@ url_extract (const unsigned char **text, gboolean check)
end++; end++;
/* Back up if we probably went too far. */ /* Back up if we probably went too far. */
while (end > *text && strchr (",.!?;:>)", *(end - 1))) while (end > *text && strchr (",.!?;:>)]}", *(end - 1)))
end--; end--;
if (check) { if (check) {