From c87464a17f5cc884330ca91615c4736b4a871026 Mon Sep 17 00:00:00 2001 From: Lahiru Madushanka Date: Wed, 24 Jan 2024 13:46:13 +0530 Subject: [PATCH] Remove unnecessary escaping Remove unnecessary escaping of $ and \ characters in the dataservice calls Fixes wso2/micro-integrator/issues/3084 --- .../integrator/mediator/dataservice/DataServiceCallMediator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/components/mediation/mediators/dataservices-mediator/org.wso2.micro.integrator.mediator.dataservice/src/main/java/org/wso2/micro/integrator/mediator/dataservice/DataServiceCallMediator.java b/components/mediation/mediators/dataservices-mediator/org.wso2.micro.integrator.mediator.dataservice/src/main/java/org/wso2/micro/integrator/mediator/dataservice/DataServiceCallMediator.java index 24b24b725b..314daed911 100644 --- a/components/mediation/mediators/dataservices-mediator/org.wso2.micro.integrator.mediator.dataservice/src/main/java/org/wso2/micro/integrator/mediator/dataservice/DataServiceCallMediator.java +++ b/components/mediation/mediators/dataservices-mediator/org.wso2.micro.integrator.mediator.dataservice/src/main/java/org/wso2/micro/integrator/mediator/dataservice/DataServiceCallMediator.java @@ -312,7 +312,6 @@ private void addParams(Param param, OMElement payload, MessageContext msgCtx) { !isJson(paramValue.trim(), param.getParamExpression())) { paramValue = escapeXMLEnvelope(msgCtx, paramValue); } - paramValue = Matcher.quoteReplacement(paramValue); } omElement.setText(paramValue); payload.addChild(omElement);