diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-03-01 20:57:24 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2026-03-01 21:55:12 +0000 |
| commit | 5c370c3333aa6648c014a550c8b64f7f90c3f777 (patch) | |
| tree | 02c219a735fda11370fc2f45247eb4a5456b7f60 /hyprpm/src/core/PluginManager.hpp | |
| parent | cf0d256c130a80519597a92f2455ed1866bbef7e (diff) | |
hyprpm: fix url sanitization in add
this could've been used to exec additional commands with hyprpm
Diffstat (limited to 'hyprpm/src/core/PluginManager.hpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<std::string, std::string> nixDevelopIfNeeded(const std::string& cmd, const SHyprlandVersion& ver); |
