Unable to download fle attachements due to # character in URL
Hi,
When uploading multiple copies of the same filename to Kunagi, Kunagi adds a # to the filename:
nmsadmin@cscsydmgt04dv:/opt/tomcat/logs/kunagi-data/files/9103f32a-7f1f-450f-a3f0-b8d5590f9dcc-1$ ls -ltr NetSECtesting*
-rw-rw-r-- 1 nmsadmin nmsadms 49664 Dec 12 2011 NetSECtesting.xls
-rw-rw-r-- 1 nmsadmin nmsadms 49664 Dec 12 2011 NetSECtesting#1.xls
-rw-rw-r-- 1 nmsadmin nmsadms 49664 Jun 14 14:08 NetSECtesting#2.xls
Unfortunately, the # character means you cannot download the file from the web interface.
Does not work due to # in the filename
http://20.250.130.46:8080/kunagi/scrum.ScrumGwtApplication/fileDownload/NetSECtesting#1.xls?projectId=9103f32a-7f1f-450f-a3f0-b8d5590f9dcc-1&fileId=2713a242-f73c-4777-9498-f9f637e7d7a3
Works due to URL encoded # value to %23
http://20.250.130.46:8080/kunagi/scrum.ScrumGwtApplication/fileDownload/NetSECtesting%231.xls?projectId=9103f32a-7f1f-450f-a3f0-b8d5590f9dcc-1&fileId=2713a242-f73c-4777-9498-f9f637e7d7a3
Please update URL generate to be either URL encoded (ie, # = %23) or use a different URL safe character such as '-'.
Status
Issue is closed for Release 0.24.