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