Skip to content

Setting custom FILE_ALLOWED_EXTENSIONS to not update FILE_ACCEPT_ATTR_VALUE #4982

Description

@frjo

If you set FILE_ALLOWED_EXTENSIONS to lets say only pdf, the file upload field will still say that all the file formats are allowed since FILE_ACCEPT_ATTR_VALUE is not updated. Form submission will however fail if other files than pdf is added.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugBugs! Things that are broken :-/

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions