We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e1fde3 commit b490f4fCopy full SHA for b490f4f
src/web/export-file.jsp
@@ -6,7 +6,6 @@
6
String fileName = request.getParameter("fileName");
7
boolean xep227Support = ParamUtils.getBooleanParameter(request, "xep227support", false);
8
9
- response.setContentType("application/x-download");
10
response.setHeader("Content-Disposition","attachment;filename="+fileName+".xml");
11
ImportExportPlugin plugin = (ImportExportPlugin) XMPPServer.getInstance().getPluginManager().getPlugin("userimportexport");
12
byte[] content = plugin.exportUsersToByteArray(xep227Support);
0 commit comments