You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2022/03/06 10:56:35 UTC

svn commit: r1898646 - /httpd/test/framework/trunk/t/modules/rewrite.t

Author: jailletc36
Date: Sun Mar  6 10:56:35 2022
New Revision: 1898646

URL: http://svn.apache.org/viewvc?rev=1898646&view=rev
Log:
It looks like samesite is available since 2.4.47 (based on CHANGES).

Modified:
    httpd/test/framework/trunk/t/modules/rewrite.t

Modified: httpd/test/framework/trunk/t/modules/rewrite.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/rewrite.t?rev=1898646&r1=1898645&r2=1898646&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/rewrite.t (original)
+++ httpd/test/framework/trunk/t/modules/rewrite.t Sun Mar  6 10:56:35 2022
@@ -26,7 +26,7 @@ if (!have_min_apache_version('2.4')) {
 
 # Specific tests for PR 58231
 my $vary_header_tests = (have_min_apache_version("2.4.30") ? 9 : 0) + (have_min_apache_version("2.4.29") ? 4 : 0);
-my $cookie_tests = have_min_apache_version("2.5.1") ? 6 : 0;
+my $cookie_tests = have_min_apache_version("2.4.47") ? 6 : 0;
 
 plan tests => @map * @num + 16 + $vary_header_tests + $cookie_tests, todo => \@todo, need_module 'rewrite';
 
@@ -170,7 +170,7 @@ if (have_min_apache_version("2.4.30")) {
     ok t_cmp($r->header("Vary"), qr/(?!.*Host.*)/, "Vary:Host header not added, OK");
 }
 
-if (have_min_apache_version("2.5.1")) {
+if (have_min_apache_version("2.4.47")) {
     $r = GET("/modules/rewrite/cookie/");
     ok t_cmp($r->header("Set-Cookie"), qr/(?!.*SameSite=.*)/, "samesite not present with no arg");
     $r = GET("/modules/rewrite/cookie/0");