Defect #1873
closed
Upload profile picture with upper case extension doesn't work
Added by Ondřej Kopr over 5 years ago.
Updated over 5 years ago.
Description
Please could you check and validate file extension? Now isn't possible upload file with JpG, JPG, ...
Affected version: probably all from #1028
- Related to Feature #1028: 1) upload and display image / delete image added
Hint from @tomiskar
if (!file.name.endsWith('.jpg') && !file.name.endsWith('.jpeg') && !file.name.endsWith('.png') && !file.name.endsWith('.gif'))
IdentityDetail.js :slightly_smiling_face:
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
- Assignee changed from Ondřej Kopr to Vít Švanda
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did test and review. Works. Now I can uplad images with extension JPG and jPg too :-). Thanks for that.
- Status changed from Resolved to Closed
Also available in: Atom
PDF