summaryrefslogtreecommitdiff
path: root/inc/SafeFN.class.php
diff options
context:
space:
mode:
authorAdrian Lang <dokuwiki@adrianlang.de>2010-10-26 22:10:23 +0200
committerAdrian Lang <dokuwiki@adrianlang.de>2010-10-26 22:10:23 +0200
commit8bddd94ea8efd2dc41d3fa35353a85ec5299a711 (patch)
tree5bdb094a7bde3cf059da864e5f0230f254af2641 /inc/SafeFN.class.php
parente63d421b53a17172465c31d8862e12d54d932ca8 (diff)
downloadrpg-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/SafeFN.class.php')
-rw-r--r--inc/SafeFN.class.php1
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;
}