I have OpenKM 5.0 installed and running except for an error I just recently discovered. If I check-out a file that has a filename containing spaces, ie "This is My File.xls", when the download window appears, the spaces have been replaced with underscores, ie "This_is_My_File.xls". When I try to check the file back in, I am prompted that the filename is different. I have tried to replace the spaces with underscores and vice versa. I am unable to check-out/check-in any file which has spaces in the filename. I can perform the check-out/in procedure with numerous other files which do not contain spaces in the filename. Does anyone have any ideas?
*UPDATE*
This seems to be an issue with Internet Explorer. All files download fine using Firefox or Chrome. There are some postings I found through google with work arounds. But these are above my level of coding. Here is the link to the forum post describing the fix. http://social.msdn.microsoft.com/forums ... 65dfc19cf/
Here is the suggested fix that would need to be added to the proper OpenKM file.
*UPDATE*
This seems to be an issue with Internet Explorer. All files download fine using Firefox or Chrome. There are some postings I found through google with work arounds. But these are above my level of coding. Here is the link to the forum post describing the fix. http://social.msdn.microsoft.com/forums ... 65dfc19cf/
Here is the suggested fix that would need to be added to the proper OpenKM file.
Code: Select all
String userAgent = request.getHeader("User-Agent");
if (userAgent.contains("MSIE 7.0")) {
filename = filename.replace(" ", "%20");
}
response.addHeader("Content-disposition", "attachment;filename=\"" + filename+"\"");