CVSROOT: /cvs/gnome Module name: libsoup Changes by: danw 05/11/09 21:43:40
Modified files: . : Tag: libsoup-pre214-branch ChangeLog TODO libsoup : Tag: libsoup-pre214-branch soup-uri.c soup-uri.h tests : Tag: libsoup-pre214-branch uri-parsing.c Log message: * libsoup/soup-uri.c: Update for RFC 3986 changes, bgo 266516, and general conformance (soup_uri_get_protocol): match protocols case-insensitively (soup_uri_new_with_base): Don't fully %-decode the fragment, query, and path, but do %-decode anything which isn't supposed to be encoded. Recognize IPv6 address literals. Use stricter "../"-stripping rules on the path. Reject URIs with junk between the port number and the path. Allow "http://example.com*" as a URI, to let you do things like "OPTIONS * HTTP/1.1" (soup_uri_to_string): Update for the fact that the host might be an IPv6 literal, and for the fact that path, query, and fragment are now pre-escaped. (soup_uri_equal): compare hostnames case-insensitively (uri_encoded_char): update to match RFC 3986 (append_uri_encoded): use uppercase hex letters as recommended by RFC 3986. (soup_uri_normalize): decode only %-escapes that don't belong there. * tests/uri-parsing.c: Add new tests from RFC 3986, RFC 2732, RFC 2616, bgo 266516, and elsewhere. Update some tests to match new parsing/unparsing rules. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libsoup&who=danw&date=explicit&mindate=2005-11-09%2021:42&maxdate=2005-11-09%2021:44 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list