]> sjero.net Git - wget/commit
[svn] Minor fixes and cosmetic changes.
authorhniksic <devnull@localhost>
Sat, 20 Sep 2003 00:05:36 +0000 (17:05 -0700)
committerhniksic <devnull@localhost>
Sat, 20 Sep 2003 00:05:36 +0000 (17:05 -0700)
commit101f896e4791cf23ed875353c2965435117609cc
treedcd69d3344d2eb8f752e95cf24040741e1867295
parenta504d10ed5db4ce560d5f3979cb1b3daa96c96a9
[svn] Minor fixes and cosmetic changes.

(uri_merge): Get rid of uri_merge_1.
(uri_merge): Merge "foo//", "bar" as "foo//bar", not "foo///bar",
i.e. don't add an extra slash merely because BASE ends with two
slashes.
(parse_credentials): Renamed from parse_uname.  Rewrittern in
standard [beg, end) calling style.
(url_skip_credentials): Renamed from url_skip_uname.  Made static.
(url_skip_credentials): Include # and ; as terminators.  Old code
would mistakenly consider "http://foo.com#hniksic@iskon.hr" to
contain a username.
(url_skip_scheme): Removed because it was unused.
(url_has_scheme): Require "scheme" to be at least one char long.
src/ChangeLog
src/url.c
src/url.h