Commit 3c5fbe2
committed
Fix file extension validation to use original filename
The file extension validation was checking the temporary file path
which doesn't have an extension. This fix changes it to check the
original filename's extension instead, allowing proper validation
of uploaded files.1 parent aa40236 commit 3c5fbe2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
0 commit comments