diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-html-utils.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index cff7183efa..7ac47969e5 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2001-03-07 Dan Winship <danw@ximian.com> + + * e-html-utils.c (url_extract): Fix an off-by-one in the "is this + for real?" check so that "http:// " won't get URLified + 2001-03-04 Damon Chaplin <damon@ximian.com> * e-time-utils.[hc]: new files to contain functions to parse and diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index e63b233676..41a5a25d3b 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -55,7 +55,7 @@ url_extract (const unsigned char **text, gboolean check) if (check) { /* Make sure we weren't fooled. */ p = memchr (*text, ':', end - *text); - if (!p || end - p < 3) + if (!p || end - p < 4) return NULL; } |