diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-04-14 09:18:05 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-04-22 21:17:59 -0700 |
| commit | d3758ce9b007562c60eae2037b4ae4c74e4d3a07 (patch) | |
| tree | 3d77473bb719d844304ef83e3f39d4913363bf01 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 756766eaa0040f734d79ba914d967356f8d48057 (diff) | |
QUrl: fix mismatch of encoded/decoded spaces in setXxx
Amends commit d064c26d2c1fb1f78013031a83b661ef6f74ce21, which introduced
qt_encodeFromUser(). As far as I can tell and test, only the space
character was an exception, due to this code in qt_urlRecode():
if (!(encoding & QUrl::EncodeSpaces))
actionTable[0] = DecodeCharacter; // decode
That meant that encoded spaces was an opt-in, not an opt-out, but is not
the default in the defaultActionTable. This was missed in the new
function.
Fixes: QTBUG-135949
Change-Id: Ic8d2adac5c32f858748bfffd5654aac3c7a2f782
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
