that-website icon indicating copy to clipboard operation
that-website copied to clipboard

Account Create Workflow Needs Image Type Filtering

Open tparikka opened this issue 5 years ago • 3 comments

When going through the account create workflow I specified a JFIF file as my image (I copied it from my Slack profile and they use that extension), and it caused the login workflow to lock up until I refreshed the page, renamed the file to .JPG and uploaded it. If only certain file types are allowed the upload dialog should specify and filter for accepted extensions.

tparikka avatar Mar 06 '20 15:03 tparikka

@csell5 which direction do you want this to go in?

  • Limiting the file types that are accepted for profile images.
    • What file types do you want to support?
  • Troubleshooting why the JFIF caused the lockup and attempting to support that image type?

joshpierce avatar Mar 07 '20 02:03 joshpierce

In Safari 13.0.5 for MacOS 10.15.3, I am unable to upload a PNG file. I can upload all 3 file types in Firefox and Chrome, latest versions.

mcookWI avatar Mar 08 '20 20:03 mcookWI

I believe the above change may work in Safari but unable to test in my current environment. If this is still causing issues, may need to look at another way around.

joshpierce avatar Mar 08 '20 21:03 joshpierce