Pass file name of cropped avatar to form data
All threads resolved!
All threads resolved!
When avatar is cropped, all filename data including file extension is lost, leading to uploads like <hash>.blob
that are causing mime issues in some setups.
This MR extends updateProfileImages
with avatarName
and passes original filename alongside with blob of cropped image to be specified in form data.
Edited by iamtakingiteasy