Changes 03/12/2026 (v3.8.0)
release(v3.8.0): share-link admin guards and centralized safe-upload policy
Commit message
release(v3.8.0): share-link admin guards and centralized safe-upload policy
- shares(security): require authenticated admin + CSRF for file share link listing and deletion
- uploads(policy): add centralized safe-upload policy with strict default and code-friendly admin override
- webdav(policy): enforce the shared write-name policy for WebDAV file and folder creation paths
- admin(ui): expose safe upload policy in Admin Panel and persist the normalized config value
- admin(fix): guard partial config updates that omit oidc payloads
Added
- Centralized safe-upload policy
- Added
src/FileRise/Support/UploadNamePolicy.phpto centralize write-path filename policy decisions. - Added admin-configurable policy modes:
strict(default)code_friendly
- Added
Changed
- File share admin endpoints
getShareLinks.phpnow requires an authenticated admin session.deleteShareLink.phpnow requires an authenticated admin session and a valid CSRF token.- Updated the generated OpenAPI spec to reflect the authenticated share-link route behavior.
- Write-path filename enforcement
- Normal uploads, file create/save flows, selected folder write paths, and WebDAV now use the shared write-name policy instead of relying only on the generic filename regex.
- Added an Admin Panel control under upload settings so operators can switch between
strictandcode_friendlybehavior.
Fixed
- Partial admin config saves
- Fixed admin config updates failing when the submitted payload omits the
oidcobject during narrower settings changes.
- Fixed admin config updates failing when the submitted payload omits the
- WebDAV folder-name validation
- WebDAV folder creation now rejects invalid path-like names such as empty names,
./.., and names containing path separators.
- WebDAV folder creation now rejects invalid path-like names such as empty names,
Security
- Safe-upload defaults
- New write operations default to
strictmode. .htaccess,.user.ini, andweb.configremain blocked in all policy modes.
- New write operations default to
- Share-link guard consistency
- File share-link listing and deletion now use the same authenticated admin expectations as the rest of the admin share management surface.
v3.8.0
Full Changelog
SHA-256 (zip)
c9a2e45aeb8dc04e9f1b5b093e52aba134841a9d4fb7f51115048c23c1f8b97e FileRise-v3.8.0.zip