@@ -19,6 +19,19 @@ PHP 8.2 UPGRADE NOTES
19
19
1. Backward Incompatible Changes
20
20
========================================
21
21
22
+ - ODBC:
23
+ . The ODBC extension now escapes the username and password for the case when
24
+ both a connection string and username/password are passed, and the string
25
+ must be appended to. Before, user values containing values needing escaping
26
+ could have created a malformed connection string, or injected values from
27
+ user-provided data. The escaping rules should be identical to the .NET BCL
28
+ DbConnectionOptions behaviour.
29
+
30
+ - PDO_ODBC:
31
+ . The PDO_ODBC extension also escapes the username and password when a
32
+ connection string is passed. See the change to the ODBC extension for
33
+ further details.
34
+
22
35
- Standard:
23
36
. strtolower() and strtoupper() are no longer locale-sensitive. They now
24
37
perform ASCII case conversion, as if the locale were "C". Use
@@ -68,6 +81,13 @@ PHP 8.2 UPGRADE NOTES
68
81
possible to use numbered subpattern references, and the matches array will
69
82
still contain numbered results.
70
83
84
+ - Standard:
85
+ . Added odbc_connection_string_is_quoted, odbc_connection_string_should_quote,
86
+ and odbc_connection_string_quote. These are primarily used behind the scenes
87
+ in the ODBC and PDO_ODBC extensions, but is exposed to userland for easier
88
+ unit testing, and for user applications and libraries to perform quoting
89
+ themselves.
90
+
71
91
========================================
72
92
3. Changes in SAPI modules
73
93
========================================
0 commit comments