Skip to content

Commit

Permalink
Update PHP session.cookie_samesite default value to match upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketeerbkw committed Sep 15, 2023
1 parent 7ea9f7e commit abbbe5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions helpers/TESTING_base_images_dockercompose.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "post_max_size" | grep "2048M"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "max_input_vars" | grep "2000"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "max_file_uploads" | grep "20"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "session.cookie_samesite" | grep "None"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "session.cookie_samesite" | grep "no value"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "display_errors" | grep "Off"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "date.timezone" | grep "UTC"
docker-compose exec -T commons sh -c "curl -kL http://php-8-0-dev:9000" | grep "opcache.memory_consumption" | grep "256"
Expand Down Expand Up @@ -115,7 +115,7 @@ docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "post_max_size" | grep "2048M"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "max_input_vars" | grep "2000"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "max_file_uploads" | grep "20"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "session.cookie_samesite" | grep "None"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "session.cookie_samesite" | grep "no value"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "display_errors" | grep "Off"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "date.timezone" | grep "UTC"
docker-compose exec -T commons sh -c "curl -kL http://php-8-1-dev:9000" | grep "opcache.memory_consumption" | grep "256"
Expand Down Expand Up @@ -156,7 +156,7 @@ docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "post_max_size" | grep "2048M"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "max_input_vars" | grep "2000"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "max_file_uploads" | grep "20"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "session.cookie_samesite" | grep "None"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "session.cookie_samesite" | grep "no value"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "display_errors" | grep "Off"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "date.timezone" | grep "UTC"
docker-compose exec -T commons sh -c "curl -kL http://php-8-2-dev:9000" | grep "opcache.memory_consumption" | grep "256"
Expand Down
2 changes: 1 addition & 1 deletion images/php-fpm/00-lagoon-php.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ session.gc_maxlifetime = 200000
session.cookie_lifetime = 2000000
session.cookie_secure = ${PHP_SESSION_COOKIE_SECURE:-0}
session.cookie_httponly = ${PHP_SESSION_COOKIE_HTTPONLY:-0}
session.cookie_samesite = ${PHP_SESSION_COOKIE_SAMESITE:-"None"}
session.cookie_samesite = ${PHP_SESSION_COOKIE_SAMESITE:-}

[opcache]
opcache.memory_consumption = 256
Expand Down

0 comments on commit abbbe5f

Please sign in to comment.