aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-28 18:41:51 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-28 18:41:51 -0500
commit747f32a1fa2ac2a7af6293d2ed83ee3dbe7986ca (patch)
tree9ce96bbd1d59c58b367054aac1cf560ebced6542 /libs
parentb48e85b82347f3b8c59a7a3e276c6e5d0c810f10 (diff)
Block rootbuilder directory plugin in Python proxy
The hard-blacklist in plugincontainer.cpp only catches rootbuilder at the top-level scan, but the Python proxy independently scans the plugins directory for packages (dirs with __init__.py) and was still loading it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs')
-rw-r--r--libs/plugin_python/src/proxy/proxypython.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/plugin_python/src/proxy/proxypython.cpp b/libs/plugin_python/src/proxy/proxypython.cpp
index 6a1430d..0037991 100644
--- a/libs/plugin_python/src/proxy/proxypython.cpp
+++ b/libs/plugin_python/src/proxy/proxypython.cpp
@@ -293,7 +293,8 @@ QStringList ProxyPython::pluginList(const QDir& pluginPath) const
}
else if (info.isDir() && QDir(info.absoluteFilePath()).exists("__init__.py")) {
// Skip Windows-only directory plugins that use ctypes.windll etc.
- if (baseName == "crashlogtools") {
+ if (baseName == "crashlogtools" ||
+ baseName.compare("rootbuilder", Qt::CaseInsensitive) == 0) {
continue;
}
result.append(name);