Filename with Asian characters (korean) causes problem!
Page: 1
You get following problems when uploading files with Asian characters in filenames
- upload goes through well
- file displays correctly in the list
- download these files and you get error message saying
" ... you can't download ... Can't open this site.... Try later..."
I only tried files with Korean characters, but I'm guessing that same thing will happen
to any other double-byte languages.
- upload goes through well
- file displays correctly in the list
- download these files and you get error message saying
" ... you can't download ... Can't open this site.... Try later..."
I only tried files with Korean characters, but I'm guessing that same thing will happen
to any other double-byte languages.
Ilija Studen
on Mar 26. 2008. 1:21 pm
Can you please tell me what browsers and what version of activeCollab are you using?
activeCollab team member
I was playing with "limited hosted demo", so I guess that is the lastest version of activeCollab.
Apparently, this problem has existed for a quite while because exactly the same problem is
still there for the lastest version of ProjectPier which I understand is based on activeCollab 0.7.
To answer your question, I just tried on a couple of different browsers, and this problem
seems to occur only on Windows IE (I am using IE7). Safari and Firefox are handling this just fine.
The same goes for ProjectPier as well.
Apparently, this problem has existed for a quite while because exactly the same problem is
still there for the lastest version of ProjectPier which I understand is based on activeCollab 0.7.
To answer your question, I just tried on a couple of different browsers, and this problem
seems to occur only on Windows IE (I am using IE7). Safari and Firefox are handling this just fine.
The same goes for ProjectPier as well.
Ilija Studen
on Mar 27. 2008. 9:52 am
Code that handles file download has been completely replaced in v1.0 with more reliable and better tested library. In this regard activeCollab 1.0 is much more reliable than older versions and forks.
Tested with a file with cyrilic file name (пхпинфо.пхп).
Firefox 2 (Mac) - Woks fine
Safari 3.1 (Mac) - File is downloaded, but name is not preserved
IE6 (Windows) - File is downloaded, but name is not preserved
I'll see what the problem with filename is, but file should be downloaded properly.
Tested with a file with cyrilic file name (пхпинфо.пхп).
Firefox 2 (Mac) - Woks fine
Safari 3.1 (Mac) - File is downloaded, but name is not preserved
IE6 (Windows) - File is downloaded, but name is not preserved
I'll see what the problem with filename is, but file should be downloaded properly.
activeCollab team member
It seems that IE7 on Windows is the only browser having this problem.
I tested on IE6 on Windows, and tested result came out just like you mentioned. downloaded but filename not preseved...
Strange...
I tested on IE6 on Windows, and tested result came out just like you mentioned. downloaded but filename not preseved...
Strange...
This problem is definately occuring in IE7 only. I have tested on 3 different computers, and the results are :
1) IE7 on XP - can't download
2) IE7 on Vista - can't download
3) IE6 on XP - downloaded but filename not preserved
The problem is the majority of people in our company is using IE7 on either XP or Vista,
and not being able to download files on their browser simply isn't going to work for our company.
I've already purchased the Corporate version of aC. I hope that this issue gets resolved
in aC 1.1 beta which I am hopelessly waiting for.
1) IE7 on XP - can't download
2) IE7 on Vista - can't download
3) IE6 on XP - downloaded but filename not preserved
The problem is the majority of people in our company is using IE7 on either XP or Vista,
and not being able to download files on their browser simply isn't going to work for our company.
I've already purchased the Corporate version of aC. I hope that this issue gets resolved
in aC 1.1 beta which I am hopelessly waiting for.
Following changes in the source solved the problem.
Basically in IE, filename needs to be urlencoded.
Basically in IE, filename needs to be urlencoded.
Function setContentDisposition( $disposition = HTTP_DOWNLOAD_ATTACHMENT, $file_name = null)
{
$cd = $disposition;
$baseFile = basename($this->file);
if(strstr($_SERVER['HTTP_USER_AGENT'],"MSIE")) {
$file_name = urlencode($file_name);
$baseFile = urlencode($baseFile);
}
if (isset($file_name)) {
$cd .= '; filename="' . $file_name . '"';
} elseif ($this->file) {
$cd .= '; filename="' . $baseFile . '"';
}
$this->headers['Content-Disposition'] = $cd;
}
Ilija Studen
on Apr 5. 2008. 10:02 am
We've included the fix you proposed in version currently being developed (activeCollab 1.1, now in beta) so this problem will be covered in the next release.
Thanks!
Thanks!
activeCollab team member



