mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Because the UID= and PWD= values are appended to the SQLDriverConnect case when credentials are passed, we have to append them to the string in case users are relying on this behaviour. However, they must be quoted, or the arguments will be invalid (or possibly more injected). This means users had to quote arguments or append credentials to the raw connection string themselves. It seems that ODBC quoting rules are consistent enough (and that Microsoft trusts them enough to encode into the .NET BCL) that we can actually check if the string is already quoted (in case a user is already quoting because of this not being fixed), and if not, apply the appropriate ODBC quoting rules. This is because the code exists in main/, and are shared between both ODBC extensions, so it doesn't make sense for it to only exist in one or the other. There may be a better spot for it. Closes GH-8307.
97 lines
3.6 KiB
Plaintext
97 lines
3.6 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.2.0alpha1
|
|
|
|
- CLI:
|
|
. Fixed bug #81496 (Server logs incorrect request method). (lauri)
|
|
|
|
- Core:
|
|
. Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
|
|
. Fixed bug GH-7771 (Fix filename/lineno of constant expressions). (ilutov)
|
|
. Fixed bug GH-7792 (Improve class type in error messages). (ilutov)
|
|
. Support huge pages on MacOS. (David CARLIER)
|
|
|
|
- Curl:
|
|
. Added support for CURLOPT_XFERINFOFUNCTION. (David Carlier)
|
|
. Added support for CURLOPT_MAXFILESIZE_LARGE. (David Carlier)
|
|
|
|
- Date:
|
|
. Fixed GH-8458 (DateInterval::createFromDateString does not throw if
|
|
non-relative items are present). (Derick)
|
|
. Fixed bug #52015 (Allow including end date in DatePeriod iterations)
|
|
(Daniel Egeberg, Derick)
|
|
. idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO
|
|
Year). (Pavel Djundik)
|
|
|
|
- FPM:
|
|
. Emit error for invalid port setting. (David Carlier)
|
|
. Added extra check for FPM proc dumpable on SELinux based systems.
|
|
(David Carlier)
|
|
. Added support for listening queue on macOS. (David Carlier)
|
|
. Changed default for listen.backlog on Linux to -1. (Cristian Rodríguez)
|
|
|
|
- FTP:
|
|
. Fix datetime format string to follow POSIX spec in ftp_mdtm(). (Jihwan Kim)
|
|
|
|
- Intl:
|
|
. Update all grandfathered language tags with preferred values
|
|
. Fixed GH-7939 (Cannot unserialize IntlTimeZone objects). (cmb)
|
|
|
|
- OCI8:
|
|
. Added oci8.prefetch_lob_size directive to tune LOB query performance
|
|
. Support for building against Oracle Client libraries 10.1 and 10.2 has been
|
|
dropped. Oracle Client libraries 11.2 or newer are now required.
|
|
|
|
- ODBC:
|
|
. Automatically quote username and password when needed. (Calvin Buckley)
|
|
|
|
- PDO_ODBC:
|
|
. Fixed bug #80909 (crash with persistent connections in PDO_ODBC). (Calvin
|
|
Buckley)
|
|
. Automatically quote username and password when needed. (Calvin Buckley)
|
|
|
|
- Reflection:
|
|
. Added ReflectionFunction::isAnonymous(). (Nicolas Grekas)
|
|
. Added ReflectionMethod::hasPrototype(). (Ollie Read)
|
|
|
|
- Session:
|
|
. Fixed bug GH-7787 (Improve session write failure message for user error
|
|
handlers). (ilutov)
|
|
|
|
- Sockets:
|
|
. Added TCP_NOTSENT_LOWAT socket option. (David Carlier)
|
|
. Added SO_MEMINFO socket option. (David Carlier)
|
|
. Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).
|
|
(David Carlier)
|
|
. Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket
|
|
options. (David Carlier)
|
|
|
|
- Sodium:
|
|
. Added sodium_crypto_stream_xchacha20_xor_ic(). (Scott)
|
|
|
|
- SQLite3:
|
|
. Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER. (bohwaz)
|
|
|
|
- Standard:
|
|
. net_get_interfaces() also reports wireless network interfaces on Windows.
|
|
(Yurun)
|
|
. Finished AVIF support in getimagesize(). (Yannis Guyon)
|
|
. Fixed bug GH-7847 (stripos with large haystack has bad performance).
|
|
(ilutov)
|
|
. New function memory_reset_peak_usage(). (Patrick Allaert)
|
|
. Fixed parse_url(): can not recognize port without scheme. (pandaLIU)
|
|
|
|
- Streams:
|
|
. Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.
|
|
(Cristian Rodríguez)
|
|
. Fixed bug GH-8548 (stream_wrapper_unregister() leaks memory). (ilutov)
|
|
|
|
- Zip:
|
|
. add ZipArchive::clearError() method
|
|
. add ZipArchive::getStreamName() method
|
|
. add ZipArchive::getStreamIndex() method
|
|
. On Windows, the Zip extension is now built as shared library (DLL) by
|
|
default. (cmb)
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|