From 8bddd94ea8efd2dc41d3fa35353a85ec5299a711 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Tue, 26 Oct 2010 22:10:23 +0200 Subject: 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. --- inc/SafeFN.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/SafeFN.class.php') 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; } -- cgit v1.2.3