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

@ -6,7 +6,9 @@
<wb-module deploy-name="uri-resolver-2.7.2">
<wb-module deploy-name="uri-resolver-2.8.0-SNAPSHOT">
@ -22,6 +24,7 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -30,6 +33,7 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -38,6 +42,7 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
@ -46,6 +51,7 @@
<property name="context-root" value="uri-resolver"/>
@ -54,6 +60,7 @@
<property name="java-output-path" value="/uri-resolver/target/classes"/>
@ -62,6 +69,7 @@
</wb-module>
@ -70,4 +78,5 @@
</project-modules>

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);