qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.55k stars 4k forks source link

Unable to add more than one tag when adding a torrent via WebUI API #21623

Open NikcN22 opened 1 month ago

NikcN22 commented 1 month ago

qBittorrent & operating system versions

qBittorrent-nox: 4.6.5 /api/v2/torrents/add

What is the problem?

As a result of adding a torrent file using the WebUI API /api/v2/torrents/add with the tags parameter set to tag1,tag2, the torrent is assigned only one (first) tag. Naturally, tags are pre-added to the client.

Steps to reproduce

Try to add torrent file using the WebUI API /api/v2/torrents/add with the tags parameter set to something like this tag1,tag2

Additional context

The server responds with OK 200.

Log(s) & preferences file(s)

Снимок экрана 2024-10-16 в 16 31 19 Снимок экрана 2024-10-16 в 16 31 46
glassez commented 1 month ago

@qbittorrent/bug-handlers Could someone test it?