qBittorrent-Enhanced-Edition icon indicating copy to clipboard operation
qBittorrent-Enhanced-Edition copied to clipboard

Peer filters don't seem to support non-ASCII path

Open Accurio opened this issue 9 months ago • 0 comments

qBittorrent & operating system versions

qBittorrent: 4.6.4.10 x64 Operating System: Windows 10 Enterprise 19045.4291 x64

What is the problem?

If %UserProfile% contains non-ASCII characters such as Chinese, peer filters do not work.

Steps to reproduce

Open a Command Prompt as Administrators, run the following commands to build a non-ASCII user profile environment.

mklink /J %UserProfile%\..\用户名 %UserProfile%
set UserProfile=%UserProfile%\..\用户名
start "qBittorrent" "%ProgramFiles%\qBittorrent\qBittorrent.exe"

Additional context

No response

Log(s) & preferences file(s)

Logs when user profile path does not contain a non-ASCII character.
2024/05/05 00:00 - UPnP/NAT-PMP 支持:开
2024/05/05 00:00 - 加密支持:开
2024/05/05 00:00 - 匿名模式:关
2024/05/05 00:00 - Peer 交换(PeX)支持:开
2024/05/05 00:00 - 'peer_whitelist.txt' doesn't exist. The corresponding filter is disabled.
2024/05/05 00:00 - 'peer_blacklist.txt' contains 5 valid rules.
2024/05/05 00:00 - 本地 Peer 发现支持:开
2024/05/05 00:00 - 分布式哈希表(DHT)支持:开
2024/05/05 00:00 - HTTP User-Agent:“qBittorrent Enhanced/4.6.4.10”
2024/05/05 00:00 - Peer ID:“-qB464A-”
2024/05/05 00:00 - 尝试侦听下列 IP 地址列表:“0.0.0.0:34567,[::]:34567”
2024/05/05 00:00 - 使用配置目录:C:\Users\User\AppData\Roaming\qBittorrent
2024/05/05 00:00 - qBittorrent v4.6.4.10 已启动
Logs when user profile path contains non-ASCII characters.
2024/05/05 00:00 - UPnP/NAT-PMP 支持:开
2024/05/05 00:00 - 加密支持:开
2024/05/05 00:00 - 匿名模式:关
2024/05/05 00:00 - Peer 交换(PeX)支持:开
2024/05/05 00:00 - 'peer_whitelist.txt' doesn't exist. The corresponding filter is disabled.
2024/05/05 00:00 - 'peer_blacklist.txt' has no valid rules. The corresponding filter is disabled.
2024/05/05 00:00 - 本地 Peer 发现支持:开
2024/05/05 00:00 - 分布式哈希表(DHT)支持:开
2024/05/05 00:00 - HTTP User-Agent:“qBittorrent Enhanced/4.6.4.10”
2024/05/05 00:00 - Peer ID:“-qB464A-”
2024/05/05 00:00 - 尝试侦听下列 IP 地址列表:“0.0.0.0:34567,[::]:34567”
2024/05/05 00:00 - 使用配置目录:C:\Users\用户名\AppData\Roaming\qBittorrent
2024/05/05 00:00 - qBittorrent v4.6.4.10 已启动

Accurio avatar May 04 '24 16:05 Accurio