diff --git a/rpcs3/rpcs3qt/update_manager.cpp b/rpcs3/rpcs3qt/update_manager.cpp index 2de06a309c..c2b4c34b82 100644 --- a/rpcs3/rpcs3qt/update_manager.cpp +++ b/rpcs3/rpcs3qt/update_manager.cpp @@ -209,6 +209,12 @@ bool update_manager::handle_json(bool automatic, bool check_only, const QByteArr m_expected_hash = latest[os]["checksum"].toString().toStdString(); m_expected_size = latest[os]["size"].toInt(); + if (!m_request_url.starts_with("https://github.com/RPCS3/rpcs3")) + { + update_log.fatal("Bad url: %s", m_request_url); + return false; + } + if (check_only) { m_downloader->close_progress_dialog();