History

Fix authorization of API calls in XMLHttpRequest

David Rowe committed 11 years ago

Commit 1ee797e1 parent 6550b4e1 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/XMLHttpRequestClass.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/XMLHttpRequestClass.cpp+1−1
@@ -207,7 +207,7 @@ void XMLHttpRequestClass::open(const QString& method, const QString& url, bool a · 206 unmodified lines
207 notImplemented();207 notImplemented();
208 }208 }
209 } else {209 } else {
210 if (url.toLower().left(33) == "https://metaverse.highfidelity.com/api/") {210 if (url.toLower().left(39) == "https://metaverse.highfidelity.com/api/") {
211 AccountManager& accountManager = AccountManager::getInstance();211 AccountManager& accountManager = AccountManager::getInstance();
212 212
213 if (accountManager.hasValidAccessToken()) {213 if (accountManager.hasValidAccessToken()) {