Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Dec 1, 2017
Merged

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

merged 2 commits into from
Dec 1, 2017

Conversation

Lctrs
Copy link
Contributor

@Lctrs Lctrs commented Sep 22, 2017

Supersed #262.

@bytehead
Copy link
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

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