mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 04:20:05 +02:00
Apparently converting like that doesn't work, since umlauts get mangled.
Using to_ascii() instead
This commit is contained in:
@@ -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)
|
// Use safe names - replace unsafe chars, convert to ASCII (ZIP spec says CP437, but we'll try)
|
||||||
$path = explode('/',$_name);
|
$path = explode('/',$_name);
|
||||||
$_name = implode('/',translation::convert( str_replace($replace,'_',$path),false,'ASCII//TRANSLIT'));
|
$_name = translation::to_ascii(implode('/', str_replace($replace,'_',$path)));
|
||||||
|
|
||||||
// Don't go infinite with app entries
|
// Don't go infinite with app entries
|
||||||
if(self::is_link($addfile))
|
if(self::is_link($addfile))
|
||||||
|
Reference in New Issue
Block a user