[php-src] PR #24737: Fix GH-24736: php_odbc_connstr_is_quoted() accepts missing closing brace
| From: | lazerg | Date: | Mon, 26 Oct 2026 10:27:16 +0000 |
| Subject: | [php-src] PR #24737: Fix GH-24736: php_odbc_connstr_is_quoted() accepts missing closing brace | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39905@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24737
Author: lazerg
The loop only rejected a
} that wasn't doubled or at the end, so a value with no
closing } at all (like {foo, or {foo}} where the last brace
is escaped) came back as already quoted and skipped the UID/PWD quoting. Now it's only quoted
if the scan actually ends on an unescaped }.
Fixes #24736