Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2359,7 +2359,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 2358 unmodified lines | |||
| 2359 | } | 2359 | } |
| 2360 | else { | 2360 | else { |
| 2361 | // IF YOU FUCK UP, DELETE FROM HERE TO... | 2361 | // IF YOU FUCK UP, DELETE FROM HERE TO... |
| 2362 | QList<QString> safeURLS = { "https://animedeck.com/", "http://animedeck.com/" }; | 2362 | QList<QString> safeURLS = { "https://FAKEURL.t43wt4g4g44FAKE" }; |
| 2363 | safeURLS += qEnvironmentVariable("EXTRA_WHITELIST").split(QRegExp("\\s*,\\s*"), QString::SkipEmptyParts); | 2363 | safeURLS += qEnvironmentVariable("EXTRA_WHITELIST").split(QRegExp("\\s*,\\s*"), QString::SkipEmptyParts); |
| 2364 | 2364 | ||
| 2365 | bool isInWhitelist = false; // assume unsafe | 2365 | bool isInWhitelist = false; // assume unsafe |