diff --git a/esp/services/ws_store/espstorelib/daliKVStore.cpp b/esp/services/ws_store/espstorelib/daliKVStore.cpp index 756c05bb27a..9e7774b578c 100644 --- a/esp/services/ws_store/espstorelib/daliKVStore.cpp +++ b/esp/services/ws_store/espstorelib/daliKVStore.cpp @@ -227,7 +227,7 @@ bool CDALIKVStore::fetchKeyProperty(StringBuffer & propval , const char * storen ensureAttachedToDali(); //throws if in offline mode - VStringBuffer xpath("%s/Store[%s='%s'][1]/", DALI_KVSTORE_PATH, DALI_KVSTORE_NAME_ATT, storename); + VStringBuffer xpath("%s/Store[%s='%s'][1]/", DALI_KVSTORE_PATH, DALI_KVSTORE_NAME_ATT, encodedStoreName.str()); if (global) xpath.append(DALI_KVSTORE_GLOBAL);