Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py	(revision 10090)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py	(revision 10091)
@@ -329,7 +329,4 @@
         """Create a browsable file-like object.
         """
-        ext = os.path.splitext(filename)[1].lower()
-        if ext not in ['.jpg', '.png']:
-            raise ValueError('Only .jpg and .png allowed')
         # call super method to ensure that any old files with
         # different filename extension are deleted.
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicant.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicant.py	(revision 10090)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicant.py	(revision 10091)
@@ -91,14 +91,14 @@
         return
 
-    def test_image_store_handler_invalid_filename_ext(self):
-        # we only accept '.jpg' and '.png' as filename extensions.
-        store = DefaultStorage(self.workdir)
-        handler = queryUtility(IFileStoreHandler, name='img-applicant')
-        self.assertRaises(
-            ValueError,
-            handler.createFile,
-            store, store.root, 'sample.txt', '__img_applicant__sample',
-            StringIO('I am a txt file'))
-        return
+    #def test_image_store_handler_invalid_filename_ext(self):
+    #    # we only accept '.jpg' and '.png' as filename extensions.
+    #    store = DefaultStorage(self.workdir)
+    #    handler = queryUtility(IFileStoreHandler, name='img-applicant')
+    #    self.assertRaises(
+    #        ValueError,
+    #        handler.createFile,
+    #        store, store.root, 'sample.txt', '__img_applicant__sample',
+    #        StringIO('I am a txt file'))
+    #    return
 
 class ApplicantImageNameChooserTests(FunctionalTestCase):
