[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] com doc/en: Fix #80677: =?UTF-8?Q?session=2Ecookie=5Fsamesite=20missing?= =?UTF-8?Q?=20fro
From:       Christoph Michael Becker <cmb () php ! net>
Date:       2021-01-28 11:05:05
Message-ID: php-mail-7df1f55500186a4d4c8d992c0dcad5d8962122451 () git ! php ! net
[Download RAW message or body]

Commit:    7dc5a6466b5c49cd712fc19a520f106b4d2d1110
Author:    Christoph M. Becker <cmbecker69@gmx.de>         Thu, 28 Jan 2021 12:05:05 +0100
Parents:   fc4e5c27fa0f37f42420ae24300ad0b3d6c1a77b
Branches:  master

Link:       http://git.php.net/?p=doc/en.git;a=commitdiff;h=7dc5a6466b5c49cd712fc19a520f106b4d2d1110

Log:
Fix #80677: session.cookie_samesite missing from INI list

We should not duplicate the info in the general INI list, but rather
include it from the session configuration.

While we're at it, we remove obsolete changelog entries, fix the
wording ("as of" instead of "since"), and remove the url_rewriter.tags
entry from the session configuration page.

Bugs:
https://bugs.php.net/80677

Changed paths:
  M  appendices/ini.list.xml
  M  reference/session/ini.xml


["diff_7dc5a6466b5c49cd712fc19a520f106b4d2d1110.txt" (text/plain)]

diff --git a/appendices/ini.list.xml b/appendices/ini.list.xml
index 141bf25c22..d31c6ba5c5 100644
--- a/appendices/ini.list.xml
+++ b/appendices/ini.list.xml
@@ -1934,204 +1934,7 @@
         Before PHP 7.1.0, the default value was 17.
        </entry>
       </row>
-      <row>
-       <entry><link \
                linkend="ini.session.auto-start">session.auto_start</link></entry>
-       <entry>"0"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>PHP_INI_ALL in PHP &lt;= 5.4.19 and in PHP &lt;= 5.5.1.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cache-expire">session.cache_expire</link></entry>
                
-       <entry>"180"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cache-limiter">session.cache_limiter</link></entry>
                
-       <entry>"nocache"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cookie-domain">session.cookie_domain</link></entry>
                
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cookie-httponly">session.cookie_httponly</link></entry>
                
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Available since PHP 5.2.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cookie-lifetime">session.cookie_lifetime</link></entry>
                
-       <entry>"0"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cookie-path">session.cookie_path</link></entry>
-       <entry>"/"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.cookie-secure">session.cookie_secure</link></entry>
                
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.entropy-file">session.entropy_file</link></entry>
                
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Removed in PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.entropy-length">session.entropy_length</link></entry>
                
-       <entry>"0"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Removed in PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.gc-divisor">session.gc_divisor</link></entry>
-       <entry>"100"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.gc-maxlifetime">session.gc_maxlifetime</link></entry>
                
-       <entry>"1440"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.gc-probability">session.gc_probability</link></entry>
                
-       <entry>"1"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.sid-bits-per-character">session.sid_bits_per_character</link></entry>
                
-       <entry>"4"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Available since PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.sid-length">session.sid_length</link></entry>
-       <entry>"32"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Available since PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry>
                
-       <entry>"5"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Removed in PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.hash-function">session.hash_function</link></entry>
                
-       <entry>"0"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Removed in PHP 7.1.0.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.lazy-write">session.lazy_write</link></entry>
-       <entry>"1"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry>Available since PHP 7.0.0.</entry>
-      </row>
-      <row>
-       <entry><link linkend="ini.session.name">session.name</link></entry>
-       <entry>"PHPSESSID"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.referer-check">session.referer_check</link></entry>
                
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.save-handler">session.save_handler</link></entry>
                
-       <entry>"files"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link linkend="ini.session.save-path">session.save_path</link></entry>
-       <entry>""</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.serialize-handler">session.serialize_handler</link></entry>
                
-       <entry>"php"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.cleanup">session.upload_progress.cleanup</link></entry>
                
-       <entry>"1"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.enabled">session.upload_progress.enabled</link></entry>
                
-       <entry>"1"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.freq">session.upload_progress.freq</link></entry>
                
-       <entry>"1%"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.min-freq">session.upload_progress.min_freq</link></entry>
                
-       <entry>"1"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.name">session.upload_progress.name</link></entry>
                
-       <entry>"PHP_SESSION_UPLOAD_PROGRESS"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-       <entry><link \
linkend="ini.session.upload-progress.prefix">session.upload_progress.prefix</link></entry>
                
-       <entry>"upload_progress_"</entry>
-       <entry>PHP_INI_PERDIR</entry>
-       <entry>Available since PHP 5.4.0.</entry>
-      </row>
-      <row>
-        <entry><link \
                linkend="ini.session.use-strict-mode">session.use_strict_mode</link></entry>
                
-        <entry>"0"</entry>
-        <entry>PHP_INI_ALL</entry>
-        <entry>Available since PHP 5.5.2.</entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.use-cookies">session.use_cookies</link></entry>
-       <entry>"1"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry>
                
-       <entry>"1"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
-      <row>
-       <entry><link \
                linkend="ini.session.use-trans-sid">session.use_trans_sid</link></entry>
                
-       <entry>"0"</entry>
-       <entry>PHP_INI_ALL</entry>
-       <entry></entry>
-      </row>
+      <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) \
xpointer(id('session.configuration.list')/*)" />  <row>
        <entry>session_pgsql.create_table</entry>
        <entry>"1"</entry>
diff --git a/reference/session/ini.xml b/reference/session/ini.xml
index 7d623a9dd1..fafe751c27 100644
--- a/reference/session/ini.xml
+++ b/reference/session/ini.xml
@@ -15,7 +15,7 @@
      <entry>&Changelog;</entry>
     </row>
    </thead>
-   <tbody>
+   <tbody xml:id="session.configuration.list">
     <row>
      <entry><link linkend="ini.session.save-path">session.save_path</link></entry>
      <entry>""</entry>
@@ -92,19 +92,19 @@
      <entry><link linkend="ini.session.cookie-httponly">session.cookie_httponly</link></entry>
  <entry>""</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 5.2.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.cookie-samesite">session.cookie_samesite</link></entry>
  <entry>""</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.3.0.</entry>
+     <entry>Available as of PHP 7.3.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.use-strict-mode">session.use_strict_mode</link></entry>
  <entry>"0"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 5.5.2.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.use-cookies">session.use_cookies</link></entry>
 @@ -146,97 +146,91 @@
      <entry><link linkend="ini.session.trans-sid-tags">session.trans_sid_tags</link></entry>
  <entry>"a=href,area=href,frame=src,form="</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.1.0.</entry>
+     <entry>Available as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.trans-sid-hosts">session.trans_sid_hosts</link></entry>
  <entry><literal>$_SERVER['HTTP_HOST']</literal></entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.1.0.</entry>
+     <entry>Available as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.sid-length">session.sid_length</link></entry>
      <entry>"32"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.1.0.</entry>
+     <entry>Available as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.sid-bits-per-character">session.sid_bits_per_character</link></entry>
  <entry>"4"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.1.0.</entry>
+     <entry>Available as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.enabled">session.upload_progress.enabled</link></entry>
  <entry>"1"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.cleanup">session.upload_progress.cleanup</link></entry>
  <entry>"1"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.prefix">session.upload_progress.prefix</link></entry>
  <entry>"upload_progress_"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.name">session.upload_progress.name</link></entry>
  <entry>"PHP_SESSION_UPLOAD_PROGRESS"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.freq">session.upload_progress.freq</link></entry>
  <entry>"1%"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.upload-progress.min-freq">session.upload_progress.min_freq</link></entry>
  <entry>"1"</entry>
      <entry>PHP_INI_PERDIR</entry>
-     <entry>Available since PHP 5.4.0.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.lazy-write">session.lazy_write</link></entry>
      <entry>"1"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Available since PHP 7.0.0.</entry>
-    </row>
-    <row>
-     <entry><link linkend="ini.url-rewriter.tags">url_rewriter.tags</link></entry>
-     <entry>"a=href,area=href,frame=src,form="</entry>
-     <entry>PHP_INI_ALL</entry>
-     <entry>Since PHP 7.1.0, this INI is no longer used by session.</entry>
+     <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.session.hash-function">session.hash_function</link></entry>
  <entry>"0"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Removed in PHP 7.1.0.</entry>
+     <entry>Removed as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry>
  <entry>"4"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Removed in PHP 7.1.0.</entry>
+     <entry>Removed as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.entropy-file">session.entropy_file</link></entry>
  <entry>""</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Removed in PHP 7.1.0.</entry>
+     <entry>Removed as of PHP 7.1.0.</entry>
     </row>
     <row>
      <entry><link linkend="ini.session.entropy-length">session.entropy_length</link></entry>
  <entry>"0"</entry>
      <entry>PHP_INI_ALL</entry>
-     <entry>Removed in PHP 7.1.0</entry>
+     <entry>Removed as of PHP 7.1.0</entry>
     </row>
    </tbody>
   </tgroup>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic