diff --git a/app/src/handlers/itemhandler.cpp b/app/src/handlers/itemhandler.cpp index d6a309888a99cd4220ac7750f639f3b76415b441..7d3d3f2421905c96e51d450ea8446c7135fbc75e 100644 --- a/app/src/handlers/itemhandler.cpp +++ b/app/src/handlers/itemhandler.cpp @@ -112,8 +112,7 @@ void ItemHandler::getItemByOcsUrl(const QString &ocsUrl, const QString &provider filename = QUrl(url).fileName(); } - // Still support xdg and xdgs schemes for backward compatibility - if ((scheme == "ocs" || scheme == "ocss" || scheme == "xdg" || scheme == "xdgs") + if ((scheme == "ocs" || scheme == "ocss") && (command == "download" || command == "install") && QUrl(url).isValid() && configHandler_->getAppConfigInstallTypes().contains(type)