Make sure default regexp for uploaded files is always checked

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Relax directory traversal check and allow filenames which contain ".."

Signed-off-by: Sven Strickroth <email@cs-ware.de>