diff options
author | Adrian Lang <dokuwiki@adrianlang.de> | 2010-10-26 22:10:23 +0200 |
---|---|---|
committer | Adrian Lang <dokuwiki@adrianlang.de> | 2010-10-26 22:10:23 +0200 |
commit | 8bddd94ea8efd2dc41d3fa35353a85ec5299a711 (patch) | |
tree | 5bdb094a7bde3cf059da864e5f0230f254af2641 /inc | |
parent | e63d421b53a17172465c31d8862e12d54d932ca8 (diff) | |
download | rpg-8bddd94ea8efd2dc41d3fa35353a85ec5299a711.tar.gz rpg-8bddd94ea8efd2dc41d3fa35353a85ec5299a711.tar.bz2 |
Fix SafeFN-encoded file names
SafeFN encoding now always end the encoding block by appending a dot at the end of the file name. This is necessary since the file name may get an extension which is not encoded.
Diffstat (limited to 'inc')
-rw-r--r-- | inc/SafeFN.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/SafeFN.class.php b/inc/SafeFN.class.php index b6e477fab..ac6698a63 100644 --- a/inc/SafeFN.class.php +++ b/inc/SafeFN.class.php @@ -114,6 +114,7 @@ class SafeFN { $converted = true; } } + if($converted) $safe .= self::$post_indicator; return $safe; } |