Actions
Defect #1873
closedUpload profile picture with upper case extension doesn't work
Start date:
09/24/2019
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
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 issues
Updated by Ondřej Kopr over 5 years ago
- Related to Feature #1028: 1) upload and display image / delete image added
Updated by Ondřej Kopr over 5 years ago
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:
Updated by Radek Tomiška over 5 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
I've added lower case to "naive" frontend extension validation, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/bd8243e13e381644043008150aad298767de9360
Could you do a feedback, please?
Updated by Vít Švanda about 5 years ago
- Assignee changed from Ondřej Kopr to Vít Švanda
Updated by Vít Švanda about 5 years ago
- 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.
Updated by Radek Tomiška about 5 years ago
- Status changed from Resolved to Closed
Actions