Fix wildcard patterns to match digits only #8

Merged
CodeX merged 1 commits from fix/wildcard-digit-only into main 2026-04-10 19:15:53 +02:00

1 Commits

Author SHA1 Message Date
CodeX 70678ddd28 Fix wildcard patterns to match digits only
*.r?? *.s?? *.z?? match any 3-character extension starting with that
letter, which blocks legitimate files like .srt .ssa .sub that are
in the whitelist. The whitelist subtraction cannot prevent this
because it operates on exact strings in the blacklist file, not on
qBittorrent's glob expansion.

Replace with digit-only character classes:

  *.r[0-9][0-9]   - .r00-.r99 only
  *.s[0-9][0-9]   - .s00-.s99 only
  *.z[0-9][0-9]   - .z00-.z99 only
2026-04-10 19:14:43 +02:00