Urls are unlikely to end with punctuation or closing braces, so strip any
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 17 Apr 2003 16:43:07 +0000 (16:43 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 17 Apr 2003 16:43:07 +0000 (16:43 +0000)
commitb525a8d3983ec544f2508635aa61fd0740b7eb94
treeb1c06ad76fa023b01d709650331e7898f8d9d1dd
parent9f9341f66330d7e04575859200671b53190b247b
Urls are unlikely to end with punctuation or closing braces, so strip any

2003-04-16  Jeffrey Stedfast  <fejj@ximian.com>

* camel-url-scanner.c (camel_url_web_end): Urls are unlikely to
end with punctuation or closing braces, so strip any of those off
the end of the url. Fixes bug #41461.

* tests/mime-filter/data/html.1.out: Removed a trailing \n at the
end of the file, this is incorrect (since out input file does not
contain one).

* camel-mime-filter-tohtml.c (html_convert): Only output a <br> if
we found an eoln in the input. Along the same lines, don't write a
'\n' to the output buffer unless we've encountered that eoln in
the input. Fixes bug #41407.
camel/ChangeLog
camel/camel-mime-filter-tohtml.c
camel/camel-url-scanner.c
camel/tests/mime-filter/data/html.1.out