Skip to content

Commit b490f4f

Browse files
committed
fix content-type for export-file.jsp
1 parent 8e1fde3 commit b490f4f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/web/export-file.jsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
String fileName = request.getParameter("fileName");
77
boolean xep227Support = ParamUtils.getBooleanParameter(request, "xep227support", false);
88
9-
response.setContentType("application/x-download");
109
response.setHeader("Content-Disposition","attachment;filename="+fileName+".xml");
1110
ImportExportPlugin plugin = (ImportExportPlugin) XMPPServer.getInstance().getPluginManager().getPlugin("userimportexport");
1211
byte[] content = plugin.exportUsersToByteArray(xep227Support);

0 commit comments

Comments
 (0)