Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
darn, painful, so easy to add
using the null approach is fiddly when updating arrays. You basically have to unset it all, then re-set all the options.
You could also use injector to disallow zip files on every instance of uploadfield (as opposed to the global whitelist).
@Bryn Heveldt you can set it to
null in the config, which will unset it.
Alternatively you could use a _config.php file to update it programmatically.
Is there a way to disallow file extensions globally e.g: .zip ? I know you can use allowed_extensions: to add file extensions to the list, but how do I remove .zip from the default list I can see in /vendor/silverstripe/assets/src/File.php , SS4.1 btw. There must be a simple yml config way to do this?
@Steve Fearn has joined the channel
I'm getting a 404 on the release archive page
I think it's on a couple of AWS regions, so it might be there is an issue with one location
must be late night internet woes
hm. sometimes semi loads... sometimes 404's