removed encoding from POST method
This commit is contained in:
parent
ca07d7ae0e
commit
25f54f122c
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue