Bug #9976

Uploading .SPS files

Added by Michael Shields about 1 year ago. Updated about 1 year ago.

Priority name:
Category name:
WordPress - Media
Target version:
Start date:
Due date:
% Done:


Estimated time:


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!


SPS_Files.jpg (155 KB) SPS_Files.jpg Michael Shields, 2018-07-02 02:27 PM
Race_Ethnicity_Imputation.SPS (19.1 KB) Race_Ethnicity_Imputation.SPS Michael Shields, 2018-07-02 03:03 PM


#1 Updated by Boone Gorges about 1 year 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

#2 Updated by Michael Shields about 1 year ago

Thank you for the quick response.

I've attached the .sps file that I'm trying to upload.

#3 Updated by Raymond Hoh about 1 year 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

I've also deployed the fix on production.

Michael, can you test re-uploading your .sps files to see if it works now?

#4 Updated by Michael Shields about 1 year ago

Thanks, Ray and Boone! It works perfectly! You can go ahead and close this ticket.

Thanks for the amazingly quick response!!! :)

#5 Updated by Raymond Hoh about 1 year ago

  • Status changed from Assigned to Resolved

Great! Thanks for confirming, Michael.

#6 Updated by Boone Gorges about 1 year ago

Gah, my fault. Sorry for not catching it the first time around, and thanks to Ray for the quick fix.

Also available in: Atom PDF