#5422 closed defect (bug) (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)
Change History (4)
#2
@
4 years 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
@
4 years 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.
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