You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system/Language/en/Cookie.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@
17
17
'invalidExpiresValue' => 'The cookie expiration time is not valid.',
18
18
'invalidCookieName' => 'The cookie name "{0}" contains invalid characters.',
19
19
'invalidCookieValue' => 'The cookie value contains invalid characters.',
20
+
'invalidCookiePath' => 'The cookie path contains invalid characters.',
21
+
'invalidCookieDomain' => 'The cookie domain contains invalid characters.',
20
22
'emptyCookieName' => 'The cookie name cannot be empty.',
21
23
'invalidSecurePrefix' => 'Using the "__Secure-" prefix requires setting the "Secure" attribute.',
22
24
'invalidHostPrefix' => 'Using the "__Host-" prefix must be set with the "Secure" flag, must not have a "Domain" attribute, and the "Path" is set to "/".',
Copy file name to clipboardExpand all lines: user_guide_src/source/changelogs/v4.7.5.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ Message Changes
19
19
***************
20
20
21
21
- Added the ``Cookie.invalidCookieValue`` language string.
22
+
- Added the ``Cookie.invalidCookiePath`` language string.
23
+
- Added the ``Cookie.invalidCookieDomain`` language string.
22
24
23
25
*******
24
26
Changes
@@ -41,7 +43,7 @@ Bugs Fixed
41
43
- **CLIRequest:** Fixed a bug where ``parseCommand()`` could throw a TypeError when ``argv`` is missing.
42
44
- **CodeIgniter:** Fixed a bug where ``gatherOutput()`` could be called twice when ``startController()`` returned a ``ResponseInterface`` (e.g., from filter attributes or closure routes).
43
45
- **Content Security Policy:** Fixed a bug where empty ``Content-Security-Policy``, ``Content-Security-Policy-Report-Only``, and ``Reporting-Endpoints`` response headers were generated when no corresponding values existed.
44
-
- **Cookie:** Fixed a bug where ``Cookie`` instances created with ``raw: true`` allowed invalid characters in cookie values rejected by ``setrawcookie()``.
46
+
- **Cookie:** Fixed a bug where ``Cookie`` instances allowed invalid characters in cookie values (with ``raw: true``), path, and domain attributes rejected by ``setrawcookie()`` and RFC 6265.
45
47
- **Database:** Fixed a bug where rebuilding a SQLite3 table (e.g., ``Forge::dropColumn()``, ``Forge::modifyColumn()``, ``Forge::dropForeignKey()`` and ``Forge::dropPrimaryKey()``) corrupted the table names referenced by its foreign keys when ``DBPrefix`` was set.
46
48
- **Files:** Fixed a bug where ``File::move()`` and ``UploadedFile::move()`` set executable and overly permissive file permissions (``0777 & ~umask()`` instead of ``0666 & ~umask()``), and ``UploadedFile::move()`` targeted the parent directory instead of the destination file for ``chmod()``.
47
49
- **Helpers:** Fixed a bug where ``get_dir_file_info()`` returned incomplete entries for subdirectories and missing files instead of omitting them.
0 commit comments