Bug #9976
closedUploading .SPS files
0%
Description
Hi everyone,
I assume this is a bug now since an update allowing .sps files to be uploaded was recently made. I'm still unable to upload .sps files. Thinking that the file was possibly case sensitive, I tried both .SPS and .sps. Neither worked. Please take a look at the attached screenshot.
Thank you!
-Michael
Files
Updated by Boone Gorges over 6 years ago
- Assignee set to Raymond Hoh
Michael, could you please provide a copy of an .sps file we can use for testing?
Ray, once Michael has shared the file, would you mind taking a look at why the upload file whitelist is not working? It could be related to #9974
Updated by Michael Shields over 6 years ago
Thank you for the quick response.
I've attached the .sps file that I'm trying to upload.
Updated by Raymond Hoh over 6 years ago
- Category name set to WordPress - Media
- Status changed from New to Assigned
- Target version set to 1.13.5
It's due to the .sps mime type not being defined in WordPress. We need to manually define the .sps mime type so it can be recognized by WordPress.
Added to the codebase in https://github.com/cuny-academic-commons/cac/commit/3483de49e2d7990062c89c9479e0a00fa996b7b3.
I've also deployed the fix on production.
Michael, can you test re-uploading your .sps files to see if it works now?
Updated by Michael Shields over 6 years ago
Thanks, Ray and Boone! It works perfectly! You can go ahead and close this ticket.
Thanks for the amazingly quick response!!! :)
Updated by Raymond Hoh over 6 years ago
- Status changed from Assigned to Resolved
Great! Thanks for confirming, Michael.
Updated by Boone Gorges over 6 years ago
Gah, my fault. Sorry for not catching it the first time around, and thanks to Ray for the quick fix.