Review main Merged

80017[BUGFIX] Handle unavailability of (dis)allowed extensions in FileBrowser

Andreas Kienast CR +2 V +2 Easy +3 −4 updated 07/14/23, 09:40

Commit message

For cases when the FileBrowser doesn't receive any information
of allowed or disallowed file extensions via the "bparams" query
parameter, the code is slightly adjusted to handle this case
to avoid PHP errors.

Additonally, the avatar field of the user settings is adjusted
to provide corresponding information, while the allowed types
are set to the "imagefile_ext" list. Previously used "allowed"
option in the configuration of the field is removed as it had
no effect. The avatar image is always checked against the
"imagefile_ext" list.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 3