If you attach a file with an extension that isn't permitted you will recieve an error about the file nto being valid, but the file will still be listed on the upload form. This patch fixes that.

CommentFileSizeAuthor
#4 upload_11.patch1.32 KBkkaefer
upload_10.patch1.32 KBdopry

Comments

kkaefer’s picture

Patch works. Code seems clean. +1 on this.

chx’s picture

Status: Needs review » Reviewed & tested by the community
killes@www.drop.org’s picture

can you please merge the two unsets?

kkaefer’s picture

StatusFileSize
new1.32 KB

Rerolled the patch with the unsets merged together.

killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied.

Anonymous’s picture

Status: Fixed » Closed (fixed)