I stumble upon something very weird in an application using Document (filename) fields.
Uploading a file with the name test (1).jpg works fine, but test (1).pdf or test (1).gif or test (1).txt or other extension than jpg does not.
Same counts for other special characters in the filename like &, +, etc.
If i change test (1).pdf to test (1).pdf.jpg it uploads fine. Same trick works with other extensions.
Why does the jpg file with special chars in it’s filename upload and files with other extensions not? And shouldn’t it work fine for all extensions?