qBittorrent/src/base
FranciscoPombal 0fa7fca31e Fix truncation when parsing HTTP request query
Closes #13029.

Fixes an issue with truncation of a QByteArray at the first '\0' byte
when parsing HTTP request query strings.

Previously, the operands of the ternary expression were of
different types. Most likely this was leading to a conversion
of the result to some kind of '\0'-terminated string type somewhere
along the way, in turn causing its truncation at the first '\0' byte
once converted back to QByteArray.

For some reason this bug was only present on Windows (MSVC).
2020-06-23 11:45:30 +01:00
..
bittorrent Find complete files when moving torrent storage 2020-06-12 12:58:17 +03:00
http Fix truncation when parsing HTTP request query 2020-06-23 11:45:30 +01:00
net Don't use deprecated QAbstractSocket::error() 2020-06-04 20:20:50 +08:00
rss Merge pull request #12847 from Chocobo1/deprecated 2020-05-18 11:41:11 +08:00
search Construct QString more efficiently 2020-03-25 12:00:11 +08:00
utils Create header for common BitTorrent declarations 2020-05-25 20:32:35 +03:00
algorithm.h Don't use deprecated QSet::iterator::operator+(int) 2020-06-04 20:20:50 +08:00
asyncfilestorage.cpp Use functor based QMetaObject::invokeMethod 2019-06-20 11:36:38 +08:00
asyncfilestorage.h Show error message when Session failed to start 2018-12-05 19:57:44 +03:00
base.pri Create header for common BitTorrent declarations 2020-05-25 20:32:35 +03:00
CMakeLists.txt Create header for common BitTorrent declarations 2020-05-25 20:32:35 +03:00
exceptions.cpp Show error message when Session failed to start 2018-12-05 19:57:44 +03:00
exceptions.h Improve embedded tracker 2019-08-21 18:05:50 +08:00
filesystemwatcher.cpp Merge pull request #11195 from Chocobo1/mac 2019-09-07 11:58:23 +08:00
filesystemwatcher.h Replace QList by QVector 2019-08-05 20:56:15 +08:00
global.h Migrate away from deprecated API in Qt 5.14 2019-12-25 19:23:37 +08:00
iconprovider.cpp Move all icon resources to icon folder root 2020-05-18 20:30:51 +05:30
iconprovider.h Forward declare as much as possible 2019-05-19 12:06:18 +08:00
indexrange.h Remove const from class variables 2020-04-29 21:32:34 +08:00
logger.cpp Reduce padding in structure 2020-04-18 18:33:46 +08:00
logger.h Reduce padding in structure 2020-04-18 18:33:46 +08:00
preferences.cpp CMake: Don't split GUI code into several libraries 2020-05-01 17:03:00 +03:00
preferences.h Add ability to send custom HTTP headers 2020-04-23 12:13:01 +08:00
profile.cpp Drop "private" subfolders 2020-05-08 14:59:18 +03:00
profile.h Fix portable mode 2020-02-12 19:56:25 +02:00
profile_p.cpp Drop "private" subfolders 2020-05-08 14:59:18 +03:00
profile_p.h Drop "private" subfolders 2020-05-08 14:59:18 +03:00
scanfoldersmodel.cpp Disable Auto TMM when not using default savepath from monitored folder 2020-03-19 21:13:44 +02:00
scanfoldersmodel.h Add final specifier to classes 2020-04-17 13:18:40 +08:00
settingsstorage.cpp Unify singleton pattern in Profile class 2020-02-11 15:30:59 +08:00
settingsstorage.h Use uniform initialization on some default arguments 2019-02-25 17:05:15 +02:00
settingvalue.h Avoid double lookups 2019-09-08 14:28:38 +08:00
torrentfileguard.cpp Add const to almost all remaining vars and arguments that qualify 2019-02-25 17:05:15 +02:00
torrentfileguard.h Use uniform initialization on some default arguments 2019-02-25 17:05:15 +02:00
torrentfilter.cpp Split TorrentHandle interface and implementation 2020-04-16 20:22:26 +03:00
torrentfilter.h Add stalled filters to GUI and Web API/UI 2020-01-13 11:41:37 +00:00
tristatebool.cpp Add constexpr to TriStateBool class 2018-05-23 14:30:56 +08:00
tristatebool.h Use the same internal data type for conversion function 2019-09-24 10:49:39 +08:00
types.h Rename enum 2016-04-14 14:50:59 +08:00
unicodestrings.h Sort locale language list 2020-04-05 19:21:37 +08:00