Zip still needs the encoding, lost in previous commit.

This commit is contained in:
Nathan Gray 2014-07-02 14:46:15 +00:00
parent 977cb5e7df
commit 35f59acf41

View File

@ -1420,7 +1420,7 @@ class egw_vfs extends vfs_stream_wrapper
// Use safe names - replace unsafe chars, convert to ASCII (ZIP spec says CP437, but we'll try)
$path = explode('/',$_name);
$_name = translation::to_ascii(implode('/', str_replace($replace,'_',$path)));
$_name = translation::convert(translation::to_ascii(implode('/', str_replace($replace,'_',$path))),false,'ASCII');
// Don't go infinite with app entries
if(self::is_link($addfile))