From 5c370c3333aa6648c014a550c8b64f7f90c3f777 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 1 Mar 2026 20:57:24 +0000 Subject: hyprpm: fix url sanitization in add this could've been used to exec additional commands with hyprpm --- hyprpm/src/core/PluginManager.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'hyprpm/src/core/PluginManager.hpp') diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index 4bbbc5ca..25878f54 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -81,6 +81,7 @@ class CPluginManager { private: std::string headerError(const eHeadersErrors err); std::string headerErrorShort(const eHeadersErrors err); + bool validArg(const std::string& s); std::expected nixDevelopIfNeeded(const std::string& cmd, const SHyprlandVersion& ver); -- cgit v1.2.3