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

Check exact extension in checkFilename utility #3061

Merged
merged 2 commits into from
Nov 11, 2020
Merged

Check exact extension in checkFilename utility #3061

merged 2 commits into from
Nov 11, 2020

Conversation

stephan-strate
Copy link
Contributor

As described in #3060 I changed the checkFilename function to check the exact extension.

@rhukster rhukster merged commit 9b2b909 into getgrav:develop Nov 11, 2020
@rhukster
Copy link
Member

Thanks! looks good to me.

mahagr pushed a commit that referenced this pull request Nov 17, 2020
* Fix uploads_dangerous_extensions checking (#3060)
* Remove redundant prefixing of `.` to extension (#3060)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants