firethorn
changeset 4306:2a5c826621e6 2.1.35-stv-issue-1187
Add CDATA Wrapper around query in UWS Job output
author | Stelios <stv@roe.ac.uk> |
---|---|
date | Tue Jul 28 15:01:06 2020 +0300 (7 months ago) |
parents | 324dc18826fb |
children | |
files | firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java |
line diff
1.1 --- a/firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java Tue Jul 28 14:44:24 2020 +0300 1.2 +++ b/firethorn-webapp/src/main/java/uk/ac/roe/wfau/firethorn/webapp/tap/UWSJob.java Tue Jul 28 15:01:06 2020 +0300 1.3 @@ -553,8 +553,8 @@ 1.4 } else { 1.5 writer.append("<uws:parameter id='lang'>None</uws:parameter>"); 1.6 } 1.7 - if (this.getQuery()!=null){ 1.8 - writer.append("<uws:parameter id='query'>" + this.getQuery().input() + "</uws:parameter>"); 1.9 + if (this.getQuery()!=null){ 1.10 + writer.append("<uws:parameter id='query'> <![CDATA[" + this.getQuery().input() + "]]></uws:parameter>"); 1.11 } 1.12 if (this.getFormat()!=null){ 1.13 writer.append("<uws:parameter id='format'>" + this.getFormat() + "</uws:parameter>");