Repository navigation
Release v1.3.0
Release v1.3.0: security - file upload size/type limits by default, access checker wired with an optional authorization checker.
Changelog
Security
- File fields now carry a
Fileconstraint: max size5Mand a document/image MIME allow-list by default (PDF, text, Word/ODT, JPEG/PNG/GIF/WebP; SVG/HTML excluded). Configurable viafile_upload.max_size/file_upload.mime_typesand per field viaoptions.max_size/options.mime_types. Previously any file type and size reached the upload handler.
Fixed
- Default admin access checker:
security.authorization_checkeris now injected through an optional reference instead of ahasDefinition()check inload()(always false in real apps, so the checker relied on autowiring and, withallow_unauthenticated: true, became allow-all even when SecurityBundle was installed). Without SecurityBundle the role checker denies (fail-closed); the allow-all checker is now selected inContactFormSecurityPassonly whenallow_unauthenticated: trueand SecurityBundle is absent.
Full Changelog: v1.2.0...v1.3.0