When a category's download path option is set to "Default", its `downloadPath` is serialized into JSON as `undefined`. This results in the `downloadPath` field being omitted from `torrents/categories` and `torrents/maindata` payloads (as is expected with an `undefined` value). The use of `undefined` here causes an issue in the WebUI. Specifically, when the category previously contained a value for this field (i.e. download path option set to either "Yes" or "No"), the `processMap` logic in `SyncController` does not detect the removal this field. This results in the category's new `downloadPath` not being properly sent to the client. By switching from `undefined` to `null`, we ensure that the `downloadPath` value is always included in the category's payload. This allows `processMap` to properly detect whenever the value changes. This change is backwards compatible with existing categories.json files. Older qBittorrent versions should also be able to parse new categories.json files containing `null`. |
||
---|---|---|
.github | ||
.tx | ||
cmake/Modules | ||
dist | ||
doc | ||
src | ||
test | ||
.clang-tidy | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
5B7CC9A2.asc | ||
AUTHORS | ||
build_dist.sh | ||
Changelog | ||
CMakeLists.txt | ||
CODING_GUIDELINES.md | ||
codingStyleQtCreator.xml | ||
CONTRIBUTING.md | ||
COPYING | ||
COPYING.GPLv2 | ||
COPYING.GPLv3 | ||
INSTALL | ||
README.md | ||
SECURITY.md | ||
uncrustify.cfg | ||
WebAPI_Changelog.md |
qBittorrent - A BitTorrent client in Qt
Description:
qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.
The free IP to Country Lite database by DB-IP is used for resolving the countries of peers. The database is licensed under the Creative Commons Attribution 4.0 International License.
Installation:
Refer to the INSTALL file.
Public key:
Starting from v3.3.4 all source tarballs and binaries are signed.
The key currently used is 4096R/5B7CC9A2 with fingerprint D8F3DA77AAC6741053599C136E4A2D025B7CC9A2
.
You can also download it from here.
PREVIOUSLY the following key was used to sign the v3.3.4 source tarballs and v3.3.4 Windows installer only: 4096R/520EC6F6 with fingerprint F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6
.
Misc:
For more information please visit: https://www.qbittorrent.org
or our wiki here: https://wiki.qbittorrent.org
Use the forum for troubleshooting before reporting bugs: https://forum.qbittorrent.org
Please report any bug (or feature request) to: https://bugs.qbittorrent.org
Official IRC channel: #qbittorrent on irc.libera.chat
sledgehammer999 <sledgehammer999@qbittorrent.org>