diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-02-04 02:52:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-02-04 02:52:53 +0800 |
commit | 3bed590653f5e6d72ffecb606f2569c1d1057326 (patch) | |
tree | c9d614774900392368137e9903ad86b88594c356 /shell | |
parent | 229c627ee11c7b5f4b7df9355b42d3bf0d35fbaa (diff) | |
download | gsoc2013-evolution-3bed590653f5e6d72ffecb606f2569c1d1057326.tar.gz gsoc2013-evolution-3bed590653f5e6d72ffecb606f2569c1d1057326.tar.zst gsoc2013-evolution-3bed590653f5e6d72ffecb606f2569c1d1057326.zip |
New test suite for url scanning.
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* tests/misc/url-scan.c: New test suite for url scanning.
* camel-url-scanner.c: Added single/double quotes to url_braces[]
in case the user is quoting the url.
(camel_url_web_end): Add "-;:" to list of punctuation to strip off
the end of urls. Also fixed to handle user@domain's
(camel_url_addrspec_start): Strip open brace characters from the
beginning of the addr.
(camel_url_web_start): Make sure "www" wasn't part of something
not a url (like "Ewww.Gross") by check that pos[-1] is either an
open brace or whitespace.
(camel_url_addrspec_end): Don't allow toplevel domain addr-specs
(if we encounter something that looks like it is a toplevel domain
addr, it is more likely to be bogus than correct).
svn path=/trunk/; revision=24592
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions