silverstripe / silverstripe-assets

Silverstripe Assets component
BSD 3-Clause "New" or "Revised" License
9 stars 65 forks source link

Add support for braille format files #573

Closed edwilde closed 8 months ago

edwilde commented 8 months ago

Add support for the Braille ASCII file format to be allowed to be uploaded by CMS editors by default.

This is commonly asked for in the public sector and implemented using custom configuration.

Braille ASCII files are just plain text, so should not pose any security risk. However, I am not pen tester ;)

Notes

It seems, there is disagreement on what mime type brf files should be: datatypes.net says it should be application/octet-stream (ref), but apache says it should be text/plain (ref). In custom configurations we typically add both but text/plain seems to be more common.

Related issue

PRs

GuySartorelli commented 8 months ago

PRs merged. This will be included in the Silverstripe CMS 5.2.0 release.

edwilde commented 8 months ago

Thanks for your help with this @GuySartorelli, much appreciated 🎉