removed encoding from POST method

This commit is contained in:
Francesco Mangiacrapa 2022-04-22 16:57:30 +02:00
parent ca07d7ae0e
commit 25f54f122c
2 changed files with 20 additions and 12 deletions

View File

@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="uri-resolver-2.7.2">
<wb-module deploy-name="uri-resolver-2.8.0-SNAPSHOT">
@ -15,7 +17,8 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -23,7 +26,8 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -31,7 +35,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -39,7 +44,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
@ -47,7 +53,8 @@
<property name="context-root" value="uri-resolver"/>
@ -55,7 +62,8 @@
<property name="java-output-path" value="/uri-resolver/target/classes"/>
@ -63,7 +71,8 @@
</wb-module>

View File

@ -206,8 +206,7 @@ public class CatalogueResolver {
String linkURL = String.format("%s/%s/%s/%s", serverUrl, rc.getId(), vreName, jsonRequest.getEntity_name());
if (jsonRequest.getQuery_string() != null) {
String qsEnc = URLEncoder.encode(jsonRequest.getQuery_string(), "UTF-8");
linkURL += "?" + qsEnc;
linkURL += "?" + jsonRequest.getQuery_string();
}
logger.info("Returining Catalogue URL: " + linkURL);