Skip to content

CLI option --save-path fails when target path contains = character #23248

@Iskander1220

Description

@Iskander1220

qBittorrent & operating system versions

qBittorrent v5.1.0 (64-bit)
Win11

What is the problem?

qBittorrent version and Operating System

  • qBittorrent 5.x (tested on Windows 10 x64)

What is the problem

The CLI option --save-path fails when the target path contains the = character.
The torrent is not added to the client and no error message is displayed.


Steps to reproduce

  1. Create a folder with = in its name, for example:
    C:\Downloads\m\Britney\_Satisfaction = Oops! I did

  2. Place a torrent file inside that folder:
    C:\Downloads\m\Britney\_Satisfaction = Oops! I did\1.torrent

  3. Run the following command:

    "E:\Program Files\qBittorrent\qbittorrent.exe" --skip-dialog=true --add-stopped=true --save-path="C:\Downloads\m\Britney\_Satisfaction = Oops! I did" "C:\Downloads\m\Britney\_Satisfaction = Oops! I did\1.torrent"
    
    

Steps to reproduce

No response

Additional context

See "What is the problem?"

Log(s) & preferences file(s)

See "What is the problem?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions