WordPress.org

Making WordPress.org

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#5422 closed defect (wontfix)

Unable to upload ttml file from wp-admin

Reported by: casiepa Owned by:
Milestone: Priority: normal
Component: WordPress.tv Keywords:
Cc:

Description

When trying to upload a .ttml file from the Media Library, the error 'Sorry, this file type is not permitted for security reasons.' is displayed although the ttml file is valid.

Attachments (1)

Capture.PNG (37.5 KB) - added by casiepa 7 months ago.

Download all attachments as: .zip

Change History (4)

@casiepa
7 months ago

#1 @dd32
7 months ago

Is there any real need to use the wp-admin uploader? What's the specific use-case?

Supporting it may require duplicated handling due to the front-end uploader using a different code path.

We can support it if needed, but it's just easier for everyone if it's only done from one place

#2 @casiepa
7 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

Is there any real need to use the wp-admin uploader?

No. But a ttml file failed to upload in the frontend, so I tried in wp-admin. First message was that the file was not a valid ttml file (that was a better error message then the frontend). When that was fixed I got the error that I could not upload in the wp-admin although at the top it said ttml files were accepted.

We can support it if needed

Nah, we can close this one. (But I do need to do some more tests as it seems – is not supported in a ttml file)
thanks @dd32

#3 @dd32
7 months ago

But a ttml file failed to upload in the frontend, so I tried in wp-admin. First message was that the file was not a valid ttml file (that was a better error message then the frontend).

Ahah, so the validation rejected it and failed to provide an error message. That's a fair thing to fix for the uploader, but probably isn't hit normally since it should be rare for an application to generate an invalid file.

Note: See TracTickets for help on using tickets.