Skip to content

[Security] Add a file extension validation whitelist mapped to an allowed mimetype#289

Merged
bytehead merged 2 commits into1up-lab:release/2.0.0from
Lctrs:feature/file-extension-validation
Dec 1, 2017
Merged

[Security] Add a file extension validation whitelist mapped to an allowed mimetype#289
bytehead merged 2 commits into1up-lab:release/2.0.0from
Lctrs:feature/file-extension-validation

Conversation

@Lctrs
Copy link
Copy Markdown
Contributor

@Lctrs Lctrs commented Sep 22, 2017

Supersed #262.

@bytehead
Copy link
Copy Markdown
Member

Thank you!
We should still update the documentation on this feature.
And it can't go into 1.x because it's breaking BC in configuration.

@bytehead bytehead changed the base branch from master to release/2.0.0 December 1, 2017 15:43
@bytehead bytehead merged commit 60b054a into 1up-lab:release/2.0.0 Dec 1, 2017
@Lctrs Lctrs deleted the feature/file-extension-validation branch December 11, 2017 09:44
@insekticid
Copy link
Copy Markdown

insekticid commented Feb 13, 2018

missing docs!

oneup_uploader:
    mappings:
        gallery:
            max_size: 9999990
            allowed_mimetypes:
                image/jpeg: ['jpg', 'jpeg', 'jpe']

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants