Skip to content

Commit

Permalink
Sync with upstream v6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosel committed Apr 5, 2024
1 parent f717dee commit 984f018
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ public void downloadXML(DataCitation citation, String fileNameString) {
HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse();
response.setContentType("text/xml");
response.setHeader("Content-Disposition", fileNameString);

try {
ServletOutputStream out = response.getOutputStream();
citation.writeAsEndNoteCitation(out);
out.flush();
ctx.responseComplete();
} catch (IOException e) {

}
}

Expand Down

0 comments on commit 984f018

Please sign in to comment.