Address review: tighten untrusted safelist and remove set_trusted

This commit is contained in:
Xirvik
2026-03-03 16:56:33 +00:00
committed by Jari Sundell
parent d935e0ffe9
commit 9f6731b4e2
4 changed files with 4 additions and 50 deletions
-1
View File
@@ -83,7 +83,6 @@ public:
// Trusted/untrusted XMLRPC connection model.
// When an SCGI request includes the UNTRUSTED_CONNECTION header,
// commands without flag_untrusted_safe are blocked.
bool set_trusted(bool trusted);
bool is_trusted() const;
static void object_to_target(const torrent::Object& obj, int callFlags, rpc::target_type* target, std::function<void()>* deleter);