diff options
author | Micael Karlberg <[email protected]> | 2011-09-23 13:59:36 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-09-23 13:59:36 +0200 |
commit | 12f3b441fc138a6e7a5bc09b8973bd55cba8b5be (patch) | |
tree | e11842c24a67865db211fd90030f2594ea85035a /lib/inets/test/http_format_SUITE.erl | |
parent | 9afeecb840b9b225e28597f78e9efe632f6b41b8 (diff) | |
parent | 368449d2316b0f0f7c0dce55a9dd47c3acadb76d (diff) | |
download | otp-12f3b441fc138a6e7a5bc09b8973bd55cba8b5be.tar.gz otp-12f3b441fc138a6e7a5bc09b8973bd55cba8b5be.tar.bz2 otp-12f3b441fc138a6e7a5bc09b8973bd55cba8b5be.zip |
[httpc] Parsing of a cookie expire date should be more forgiving.
That is, if the parsing fails, the date should be ignored.
Also added support for (yet another) date format:
"Tue Jan 01 08:00:01 2036 GMT".
OTP-9433
[httpc] Rewrote cookie parsing. Among other things solving
cookie processing from www.expedia.com.
OTP-9434
[httpd] Fix httpd directory traversal on Windows.
Directory traversal was possible on Windows where
backward slash is used as directory separator.
Andr�s Veres-Szentkir�lyi.
OTP-9561
Merge branch 'bmk/inets/inets571_integration' into dev
Diffstat (limited to 'lib/inets/test/http_format_SUITE.erl')
-rw-r--r-- | lib/inets/test/http_format_SUITE.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/inets/test/http_format_SUITE.erl b/lib/inets/test/http_format_SUITE.erl index 931ac6e024..04c7358715 100644 --- a/lib/inets/test/http_format_SUITE.erl +++ b/lib/inets/test/http_format_SUITE.erl @@ -584,7 +584,9 @@ convert_netscapecookie_date(Config) when is_list(Config) -> http_util:convert_netscapecookie_date("Sun, 12-Dec-06 08:59:38 GMT"), {{2006,12,12},{8,59,38}} = http_util:convert_netscapecookie_date("Sun 12-Dec-06 08:59:38 GMT"), - ok. + {{2036,1,1},{8,0,1}} = + http_util:convert_netscapecookie_date("Tue Jan 01 08:00:01 2036 GMT"), + ok. %%-------------------------------------------------------------------- %%% Internal functions |