yes, I've been tested it and it will throw an exception if u try to upload a file with empty extension. Right.