libsoup r1005 - in branches/libsoup-2.4: . libsoup tests



Author: danw
Date: 2008-01-02 22:06:55 +0000 (Wed, 02 Jan 2008)
New Revision: 1005
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=1005&view=rev

Added:
   branches/libsoup-2.4/libsoup/soup-form.c
   branches/libsoup-2.4/libsoup/soup-form.h
   branches/libsoup-2.4/tests/query-test.c
Modified:
   branches/libsoup-2.4/ChangeLog
   branches/libsoup-2.4/configure.in
   branches/libsoup-2.4/libsoup/Makefile.am
   branches/libsoup-2.4/libsoup/soup-auth-domain.c
   branches/libsoup-2.4/libsoup/soup-message-body.c
   branches/libsoup-2.4/libsoup/soup-server.c
   branches/libsoup-2.4/libsoup/soup-server.h
   branches/libsoup-2.4/libsoup/soup.h
   branches/libsoup-2.4/tests/
   branches/libsoup-2.4/tests/Makefile.am
   branches/libsoup-2.4/tests/context-test.c
   branches/libsoup-2.4/tests/continue-test.c
   branches/libsoup-2.4/tests/ntlm-test.c
   branches/libsoup-2.4/tests/server-auth-test.c
   branches/libsoup-2.4/tests/simple-httpd.c
   branches/libsoup-2.4/tests/simple-proxy.c
Log:
	* libsoup/soup-form.c: new HTML-form-related methods (just URI
	decoding/encoding at the moment).

	* libsoup/soup-server.h (SoupServerCallback): change the prototype
	to include the decoded path and query rather than the undecoded
	URI.

	* libsoup/soup-server.c (call_handler): %-decode the URI path
	before looking up a handler. Decode query if available. Pass path
	and query to the callback.

	* libsoup/soup-auth-domain.c (soup_auth_domain_covers): fix this
	to %-decode the URI path before testing it

	* libsoup/soup-message-body.c (soup_message_body_append): allow
	0-length appends

	* tests/query-test.c: URI query parsing test





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]