diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-02 09:57:50 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-02 09:57:50 -0800 |
commit | f4c81fa1e138cbcbab27e6135f464a06d0209a37 (patch) | |
tree | 6af05efd09b29f0a3600e6d77f563b3fa68c4ff0 /classes/File.php | |
parent | 2be00ce64221197f3c8ad1458eba2488c8836e5c (diff) | |
parent | 027c7e61fd6ecbb866a4f18111662902942d046e (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/File.php')
-rw-r--r-- | classes/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File.php b/classes/File.php index 8d91ce500..307fdb686 100644 --- a/classes/File.php +++ b/classes/File.php @@ -181,7 +181,7 @@ class File extends Memcached_DataObject */ static function validFilename($filename) { - return preg_match('^/[A-Za-z0-9._-]+$/', $filename); + return preg_match('/^[A-Za-z0-9._-]+$/', $filename); } /** |