Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2374,9 +2374,9 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 2373 unmodified lines | ||
| 2374 | 2374 | bool whitelistEnabled = _whitelistEnabled.get(); |
| 2375 | 2375 | |
| 2376 | 2376 | if (!whitelistEnabled) { |
| 2377 | + qCDebug(scriptengine) << "Whitelist Enabled: " << whitelistEnabled; | |
| 2377 | 2378 | passList = true; |
| 2378 | 2379 | } |
| 2379 | − qCDebug(scriptengine) << "Whitelist Enabled: " << whitelistEnabled; | |
| 2380 | 2380 | |
| 2381 | 2381 | // PULL SAFEURLS FROM INTERFACE.JSON Settings |
| 2382 | 2382 | QVariant raw = Setting::Handle<QVariant>("private/settingsSafeURLS").get(); |
| @@ -2391,7 +2391,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 8 unmodified lines | ||
| 2391 | 2391 | QString domainSafeURL = URL_SCHEME_HIFI + "://" + currentDomain; |
| 2392 | 2392 | for (const auto& str : safeURLPrefixes) { |
| 2393 | 2393 | if (domainSafeURL.startsWith(str) || domainSafeIP.startsWith(str)) { |
| 2394 | − qCDebug(scriptengine) << whitelistPrefix << "Whitelist Bypassed. Current Domain Host: " | |
| 2394 | + qCDebug(scriptengine) << whitelistPrefix << "Whitelist Bypassed, entire domain is whitelisted. Current Domain Host: " | |
| 2395 | 2395 | << nodeList->getDomainHandler().getHostname() |
| 2396 | 2396 | << "Current Domain: " << currentDomain; |
| 2397 | 2397 | passList = true; |