diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TextClientLogger.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TextClientLogger.java index ce2e400d4..c3450f72b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TextClientLogger.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TextClientLogger.java @@ -61,11 +61,11 @@ public class TextClientLogger extends BaseLogger implements ToolingClientLogger file.println("\r\n--- "+id+" -----------------\r\nRequest: \r\n"); file.println(method+" "+url+" HTTP/1.0"); for (String s : headers) - file.println(Utilities.escapeXml(s)); + file.println(s); if (body != null) { file.println(""); try { - file.println(Utilities.escapeXml(new String(body, "UTF-8"))); + file.println(new String(body, "UTF-8")); } catch (UnsupportedEncodingException e) { } } @@ -78,11 +78,11 @@ public class TextClientLogger extends BaseLogger implements ToolingClientLogger file.println("\r\n\r\nResponse: \r\n"); file.println(outcome); for (String s : headers) - file.println(Utilities.escapeXml(s)); + file.println(s); if (body != null) { file.println(""); try { - file.println(Utilities.escapeXml(new String(body, "UTF-8"))); + file.println(new String(body, "UTF-8")); } catch (UnsupportedEncodingException e) { } }