Error uploading .eot file via XML-RPC #41

Closed
rdworth opened this Issue Jul 4, 2012 · 6 comments

Comments

Projects
None yet
3 participants
Contributor

rdworth commented Jul 4, 2012

Trying to grunt deploy events.jquery.org

>> Error publishing 2012/uk/font/bebasneue-webfont.eot.
>> Error: XML-RPC fault: Invalid file type

Thoughts @scottgonzalez or @nacin ?

Owner

scottgonzalez commented Jul 4, 2012

wp_get_allowed_mime_types() in wp-include/functions.php checks the extensions. I thought @nacin had patched this so that we could upload anything, but perhaps he just changed it so that our multi-site install wasn't more strict than a single site install.

Member

nacin commented Jul 4, 2012

he just changed it so that our multi-site install wasn't more strict than a single site install.

Yes. But I can make uploads unfiltered for super admins.

nacin closed this in e0c2af3 Jul 4, 2012

rdworth reopened this Jul 5, 2012

nacin was assigned Jul 5, 2012

Contributor

rdworth commented Jul 5, 2012

Still having the same issue with the events.jquery.org repo once updating web-base-template

Member

nacin commented Jul 6, 2012

Lame, our unfiltered uploads bypass doesn't work for XML-RPC. I'll come up with a workaround (and also work to fix it in 3.5).

@ravasthi ravasthi pushed a commit to ravasthi/web-base-template that referenced this issue Jul 17, 2012

@nacin nacin Give unfiltered upload ability to super admins. fixes #41. bcce9ac
Contributor

rdworth commented Jul 24, 2012

Bump @nacin

nacin closed this in db138bd Aug 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment