diff --git a/libraries/networking/src/AddressManager.cpp b/libraries/networking/src/AddressManager.cpp index 8fc1d66cf1..99e1962387 100644 --- a/libraries/networking/src/AddressManager.cpp +++ b/libraries/networking/src/AddressManager.cpp @@ -136,7 +136,13 @@ void AddressManager::goForward() { } void AddressManager::storeCurrentAddress() { - currentAddressHandle.set(currentAddress()); + auto url = currentAddress(); + + if (!url.host().isEmpty()) { + currentAddressHandle.set(url); + } else { + qCWarning(networking) << "Ignoring attempt to save current address with an empty host" << url; + } } QString AddressManager::currentPath(bool withOrientation) const {