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
207207 notImplemented();
208208 }
209209 } else {
210− if (url.toLower().left(33) == "https://metaverse.highfidelity.com/api/") {
210+ if (url.toLower().left(39) == "https://metaverse.highfidelity.com/api/") {
211211 AccountManager& accountManager = AccountManager::getInstance();
212212
213213 if (accountManager.hasValidAccessToken()) {