From e1e785d4f1296c215d0db88884bf0bb8dc3e773d Mon Sep 17 00:00:00 2001 From: Rodrigo Pastrana Date: Tue, 16 Jul 2024 09:27:27 -0400 Subject: [PATCH] HPCC-32041 Code review3 - Remove superfluous decoding logic Signed-off-by: Rodrigo Pastrana --- esp/services/ws_store/ws_storeService.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/esp/services/ws_store/ws_storeService.cpp b/esp/services/ws_store/ws_storeService.cpp index 4f90f1165c3..c9fd66c20ed 100644 --- a/esp/services/ws_store/ws_storeService.cpp +++ b/esp/services/ws_store/ws_storeService.cpp @@ -359,11 +359,7 @@ bool CwsstoreEx::onFetchKeyMetadata(IEspContext &context, IEspFetchKeyMDRequest { Owned kvpair = createKVPair("",""); - //it's possible this has been encoded, so decode it - StringBuffer decoded; - decodePtreeName(decoded, attributes->queryName()); - - kvpair->setKey(decoded.str()); + kvpair->setKey(attributes->queryName()); kvpair->setValue(attributes->queryValue()); pairs.append(*kvpair.getClear()); }