1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: postpone expiry dates in test suites to 2041
Author: David Golden
Origin: upstream, https://github.com/dagolden/HTTP-CookieJar/commit/7a3b9b163526784bf18a69172df736d190c15940
Bug: https://github.com/dagolden/HTTP-CookieJar/issues/11
Bug-Debian: https://bugs.debian.org/991649
Applied-Upstream: 0.011
Reviewed-by: Étienne Mollier <emollier@debian.org>
Last-Update: 2021-07-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libhttp-cookiejar-perl.orig/t/examples.t
+++ libhttp-cookiejar-perl/t/examples.t
@@ -38,7 +38,7 @@
subtest "expiration" => sub {
$jar->clear;
- $jar->add( $req, "lang=en-US; Expires=Wed, 09 Jun 2021 10:18:14 GMT" );
+ $jar->add( $req, "lang=en-US; Expires=Sun, 09 Jun 2041 10:18:14 GMT" );
is( $jar->cookie_header($req), "lang=en-US" );
$jar->add( $req, "lang=; Expires=Sun, 06 Nov 1994 08:49:37 GMT" );
is( $jar->cookie_header($req), "" );
|