mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Using `accept: 'image/svg+xml' to only allow SVG file to be uploaded should now work. The `preg_match` was comparing `svgggg…xml` with `svg+xml`. Check the [List of Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml#image) for more potential issues.