Repository navigation
Security
- erasedata: "Remove and delete data" no longer deletes files outside the download when a name holds a quote or a backslash; files another loaded torrent still uses are kept (#3550)
- unpack: archive names are no longer treated as wildcard patterns, so unpack no longer extracts, or deletes after unpacking, archives in other directories; RAR paths containing * or ? are refused with a logged reason, and archives to delete are passed one by one, so a path holding ; can no longer delete the wrong file (#3553, #3558)
Core
- Adding torrents uses fetch() instead of a hidden frame, so the result shows correctly when a server sends X-Frame-Options: DENY or sits behind a TLS proxy; uploads posted directly to addtorrent.php are redirected relatively unless a public base URL is configured (#3535, #3534)
- rtorrent's default, session and home directories are stored as rtorrent reports them, so paths holding a quote or a backslash work in automove, watch folders, fast resume and the plugin start-up checks; a ' in the session directory no longer breaks loading the interface (#3556, #3559)
Interface
- The toolbar search has a clear button, hidden while an external search is pending so its query is kept (#3548, #3552)
- A failed external search makes the search field editable again and reports the error (#3557)
Plugins
- Paths, names and labels holding a quote or a backslash now work in data (Get File), mediainfo, screenshots, spectrogram, unpack, extratio and autotools labels (#3539, #3542, #3543, #3544, #3545, #3546, #3549)
- spectrogram: SoX no longer treats file names as wildcards, so it reads the right file and shows the real name in the title (#3544)
- datadir: moving data with names holding a quote or a backslash moves the files instead of repointing the torrent at an empty location (#3560)
- autotools: & and = survive in saved settings (label templates, filters, folders) (#3554); files with only a UTF-8 path are moved (#3536)
- _getdir: no warnings when a parameter is missing; ArrowLeft opens only the parent folder (#3555)
- telegram: {SIZE}, {LABEL} and {RATIO} in message templates (#3530); a notification when a hash check finds a completed torrent incomplete (#3532); an unreadable queued notification is kept and reported instead of deleted (#3540)
- retrackers: logs when a torrent's source file is unavailable (#3541)
Development
- Tests: log streams close after a throwing write (#3538); makeDirectory permissions under umask (#3537); the zero-name torrent comparison no longer depends on the creation date (#3531)
What's Changed
- telegram: add {SIZE}, {LABEL} and {RATIO} to the message templates by @Heliedan in #3530
- Compare the zero-name torrents without their creation date by @xirvik in #3531
- telegram: notify when a hash check finds a complete torrent incomplete by @Heliedan in #3532
- autotools: move files with a UTF-8-only path by @IvanShift in #3536
- tests: cover makeDirectory permissions under umask by @IvanShift in #3537
- telegram: keep a queued notification that cannot be read by @IvanShift in #3540
- retrackers: log when the source torrent is unavailable by @IvanShift in #3541
- data: send the file when its path holds a quote or a backslash by @IvanShift in #3539
- mediainfo: find the file when its path holds a quote or a backslash by @IvanShift in #3542
- screenshots: find the file when its path holds a quote or a backslash by @IvanShift in #3543
- unpack: find the archives when a path, name or label holds a quote or… by @IvanShift in #3545
- extratio: match a rule against a label that holds a quote or a backslash by @IvanShift in #3546
- tests: verify log streams close after a throwing write by @IvanShift in #3538
- Add a clear button to the toolbar search by @xirvik in #3548
- Add torrents with fetch() instead of a hidden frame by @xirvik in #3535
- addtorrent: redirect an upload relatively unless a public base is set by @xirvik in #3534
- spectrogram: give SoX the file's own name after --no-glob by @IvanShift in #3544
- erasedata: delete the files when a path holds a quote or a backslash by @IvanShift in #3550
- autotools: label a download by a directory that holds a quote or a backslash by @IvanShift in #3549
- unpack: handle archive name patterns by @IvanShift in #3553
- Keep an external search query while its request is pending by @IvanShift in #3552
- autotools: keep & and = in saved settings by @xirvik in #3554
- Getdir escape names by @xirvik in #3555
- Keep rtorrent's default directory as reported by @xirvik in #3556
- extsearch: give the query back when a search fails by @xirvik in #3557
- unpack: pass archives to delete as arguments by @xirvik in #3558
- Keep rtorrent's session and home directories as reported by @xirvik in #3559
- Datadir move unescape by @xirvik in #3560
- Bump version to 5.3.23 by @xirvik in #3561
Full Changelog: v5.3.22...v5.3.23