Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarlsenca committed Dec 19, 2024
1 parent c6ce07d commit 72d6898
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ dependencies {
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
}
implementation 'ca.uhn.hapi.fhir:hapi-fhir-server-openapi:7.4.5'
implementation 'org.fhir:ucum:1.0.9'

// For the moment, these require explicit 6.4.0 to resolve vulnerabilities (as 7.4.5 above is current)
implementation 'org.fhir:ucum:1.0.9'
implementation 'ca.uhn.hapi.fhir:org.hl7.fhir.convertors:6.4.0'
implementation 'ca.uhn.hapi.fhir:org.hl7.fhir.dstu2:6.4.0'
implementation 'ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may:6.4.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public String handleErrorHtml(final HttpServletRequest request) {
String ppBody = null;
try {
ppBody = new ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(body);
ppBody = body.toString().replaceAll("<", "&lt;");
} catch (Exception e) {
ppBody = body.toString().replaceAll("<", "&lt;");
}
Expand Down

0 comments on commit 72d6898

Please sign in to comment.