diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 10:40:48 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 10:40:48 +0200 |
commit | 3009a773c06e6e5d731c42b12ad82272f9706f03 (patch) | |
tree | 4e15ab478a04177de73ad9601842eee5c1be2162 /inc/io.php | |
parent | f393a4eb51a5f8ed0e64f09f76cbafe57d7dcb57 (diff) | |
download | rpg-3009a773c06e6e5d731c42b12ad82272f9706f03.tar.gz rpg-3009a773c06e6e5d731c42b12ad82272f9706f03.tar.bz2 |
replaced use of basename() with utf8_basename() FS#2015
Diffstat (limited to 'inc/io.php')
-rw-r--r-- | inc/io.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/io.php b/inc/io.php index c76d2f44c..4c6eb97df 100644 --- a/inc/io.php +++ b/inc/io.php @@ -485,7 +485,7 @@ function io_download($url,$file,$useAttachment=false,$defaultName='',$maxSize=20 if (is_string($content_disposition) && preg_match('/attachment;\s*filename\s*=\s*"([^"]*)"/i', $content_disposition, $match)) { - $name = basename($match[1]); + $name = utf8_basename($match[1]); } } |