From ce03e17d58e1a1e6d1523c4194c820236d74902e Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Sat, 1 Oct 2016 22:56:18 -0500 Subject: [PATCH] Updating previous commit --- indefero/src/IDF/Form/Upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indefero/src/IDF/Form/Upload.php b/indefero/src/IDF/Form/Upload.php index ab0ac98..c49520e 100644 --- a/indefero/src/IDF/Form/Upload.php +++ b/indefero/src/IDF/Form/Upload.php @@ -147,7 +147,7 @@ class IDF_Form_Upload extends Pluf_Form } foreach(explode(".", $this->cleaned_data["ext_file_name"]) as $section) { - if (!ctype_alpha($section)) { + if (!ctype_alnum(($section))) { throw new Pluf_Form_Invalid(__("External file name must not contain characters other than a-zA-Z and .")); } }