aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.cpp
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-07-29 22:48:24 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-29 22:58:40 +0200
commit86c145c56c2faf48f129bd44b31fb87b9bd8eb55 (patch)
tree87b0e7f6ef103ea9d2bd1b6357e2655f6f4a770f /NorthstarDLL/mods/modmanager.cpp
parent6beb2b1a0a93263e16a6f5a555d76e12b51ca94f (diff)
downloadNorthstarLauncher-1.17.3.tar.gz
NorthstarLauncher-1.17.3.zip
Validate package pattern before checking for plugins (#525)v1.17.3-rc1v1.17.31.17.X
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern. (cherry picked from commit 0af8c500aecb2eca77996e9ef750589fceb7245b)
Diffstat (limited to 'NorthstarDLL/mods/modmanager.cpp')
-rw-r--r--NorthstarDLL/mods/modmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index bf63fc41..044ec6d4 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -16,6 +16,7 @@
#include <string>
#include <sstream>
#include <vector>
+#include <regex>
ModManager* g_pModManager;