Skip to content

Commit

Permalink
HPCC-32041 Code review
Browse files Browse the repository at this point in the history
- Ensures encoded value is used

Signed-off-by: Rodrigo Pastrana <[email protected]>
  • Loading branch information
rpastrana committed Jul 9, 2024
1 parent 3238e05 commit 8b45ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/services/ws_store/espstorelib/daliKVStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8b45ef6

Please sign in to comment.