minor rfc850-date parsing improvement suggested by RFC2616 19.3.
authorDan Winship <danw@src.gnome.org>
Tue, 25 Sep 2007 00:23:17 +0000 (00:23 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 25 Sep 2007 00:23:17 +0000 (00:23 +0000)
commitb8b3779563f8f49a81b0bf117ba8f0256671ee14
tree96bb2af2c684954845e27677c41f68d88bda5d78
parent26c8210d5eb59e9f0f062ca3503dd32ff5a4614c
minor rfc850-date parsing improvement suggested by RFC2616 19.3.

* libsoup/soup-date.c (soup_date_parse): minor rfc850-date parsing
improvement suggested by RFC2616 19.3.

* libsoup/soup-headers.c (soup_headers_parse_request): allow
erroneous trailing whitespace after HTTP version. #475169

* libsoup/soup-message-server-io.c (parse_request_headers): fix
the parsing of the Host header to assume it already includes the
port (which it should; the only reason this ever worked is because
SoupUri ignores the second port number when parse_request_headers
generates a URL like "http://localhost:9999:9999/").

* tests/header-parsing.c (reqtests): add a test for #475169

svn path=/trunk/; revision=933
ChangeLog
libsoup/soup-date.c
libsoup/soup-headers.c
libsoup/soup-message-server-io.c
tests/header-parsing.c