Merge pull request #2514 from 4Science/dspace-5_x

DS-4340 Duplicate Headers when bitstream has a comma in the title
This commit is contained in:
kshepherd
2019-09-22 11:15:40 +12:00
committed by GitHub

View File

@@ -474,7 +474,7 @@ public class UIUtil extends Util
}
finally
{
response.setHeader("Content-Disposition", "attachment;filename=" + name);
response.setHeader("Content-Disposition", "attachment;filename=" + '"' + name + '"');
}
}