mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 23:59:43 +02:00
Removed all hardcoded whitelist rules
This commit is contained in:
parent
b24cc3658c
commit
07d706d681
1 changed files with 1 additions and 1 deletions
|
@ -2338,7 +2338,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// IF YOU FUCK UP, DELETE FROM HERE TO...
|
// IF YOU FUCK UP, DELETE FROM HERE TO...
|
||||||
QList<QString> safeURLS = { "https://animedeck.com/", "http://animedeck.com/" };
|
QList<QString> safeURLS = { "https://FAKEURL.t43wt4g4g44FAKE" };
|
||||||
safeURLS += qEnvironmentVariable("EXTRA_WHITELIST").split(QRegExp("\\s*,\\s*"), QString::SkipEmptyParts);
|
safeURLS += qEnvironmentVariable("EXTRA_WHITELIST").split(QRegExp("\\s*,\\s*"), QString::SkipEmptyParts);
|
||||||
|
|
||||||
bool isInWhitelist = false; // assume unsafe
|
bool isInWhitelist = false; // assume unsafe
|
||||||
|
|
Loading…
Reference in a new issue