github Novik/ruTorrent v5.3.24

one hour ago

Security

  • XML-RPC proxy: commands that store another command for rTorrent to run later (directory watches, view filters/sorts/events, group inserts, Lua, file.append) are refused at both entry points, rpc2.php and httprpc, whatever the daemon's own trust handling (#3573)
  • XML-RPC proxy: rTorrent's old names for refused commands (directory, session, scgi_port, scgi_local, and d.directory.base.set on 0.16) are refused too, so they no longer bypass the directory and session checks (#3571)

Core

  • The Settings dialog loads and saves through rpc2.php (httprpc disabled) instead of failing with "403 [error,getsettings]" (#3564)
  • httprpc: names, labels, file paths, trackers, messages and the default directory holding a quote or a backslash show as rTorrent reports them instead of escaped (#3566)
  • Torrent creator: file order no longer uses strcoll(), deprecated in PHP 8.6 (#3576)

Interface

  • Settings: values shown in a larger unit (memory, upload and download rates) are no longer rewritten on every Save, and the rpc2.php path no longer reports a fault on each Save (#3572)
  • Settings: pressing OK with nothing changed no longer resends the scheduler, XMPP and cookies settings; switching XMPP advanced settings off is now saved (#3575)

Plugins

  • erasedata: a file is kept whenever it cannot be told whether another download still uses it, including paths PHP 8.6 refuses to stat and directories PHP cannot search (#3577)
  • datadir: a move whose reload rTorrent would refuse is stopped before the download is erased, instead of losing the download or loading a different torrent in its place (#3569)
  • rutracker_check: a replacement that would put the data in a different directory is refused, instead of re-downloading everything and leaving the original copy untracked (#3568)
  • datadir, rutracker_check: labels, directories, throttles and seed settings holding a quote or a backslash are kept when a torrent is moved or replaced (#3565)
  • _getdir: labels holding a quote or a backslash are listed as they are (#3563)
  • rss: opening Settings before the RSS settings have loaded no longer overwrites the saved update interval with the default (#3574)
  • mobile: the selected filters are remembered across reloads (#3567)

Development

  • CI: the Node jobs run on Node 26 (#3562)

What's Changed

  • CI: run the node jobs on Node 26 by @xirvik in #3562
  • _getdir: list a label that holds a quote or a backslash as it is by @IvanShift in #3563
  • Let the Settings dialog load through rpc2.php by @xirvik in #3564
  • Keep a label that holds a quote or a backslash on reload by @xirvik in #3565
  • Httprpc unescape strings by @xirvik in #3566
  • Settings: do not rewrite an unchanged value shown in a larger unit by @xirvik in #3572
  • xmlrpc proxy: refuse rtorrent's old names of refused commands by @xirvik in #3571
  • rutracker_check: refuse replacements that would change directory by @IvanShift in #3568
  • datadir: check reload refusals before erasing by @IvanShift in #3569
  • mobile: remember selected filters across reloads by @jakobbg in #3567
  • xmlrpc proxy: refuse commands that store a command to run later by @xirvik in #3573
  • rss: keep the saved update interval when Settings opens before it loads by @xirvik in #3574
  • Settings noop ok by @xirvik in #3575
  • Torrent: order created torrent files without strcoll() by @xirvik in #3576
  • erasedata: keep a file when it cannot tell whether another download uses it by @xirvik in #3577
  • Bump version to 5.3.24 by @xirvik in #3578

Full Changelog: v5.3.23...v5.3.24

Don't miss a new ruTorrent release

NewReleases is sending notifications on new releases.