[php-src] PR #23354: Fix persistent PDO hash key colliding on colon in credentials
| From: | iliaal | Date: | Tue, 18 Aug 2026 13:06:36 +0000 |
| Subject: | [php-src] PR #23354: Fix persistent PDO hash key colliding on colon in credentials | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37970@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23354
Author: iliaal
Persistent PDO built the connection cache key by joining DSN, username, and password with colons, so
admin/s:ecret and admin:s/ecret reused one handle. Each field is now length-prefixed, including a
string ATTR_PERSISTENT key.