-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
dev/core#1190 Add pptx to safe file types #15047
Conversation
(Standard links)
|
@@ -677,6 +677,7 @@ VALUES | |||
(@option_group_id_sfe, 'xlsx', 13, 'xlsx', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_sfe, 'odt', 14, 'odt', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_sfe, 'ics', 15, 'ics', NULL, 0, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_sfe, 'pptx', 16, 'pptx', NULL, 0, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eileenmcnaughton i think we would need to run ./bin/regen.sh as we are changing what should be in civicrm_generated.mysql file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seamuslee001 ok - updated
b8200ea
to
4743277
Compare
I feel like it would be better to store these as an array somewhere - maybe as the first step to a metadata construct for Option groups...
@pfigel are you ok with this? |
Note that per the ticket this should be the same risk level as docx - ie. 'std Microsoft risk level' .... |
Agreed. |
Merging based on Patrick's comment and the fact we already list docx |
Overview
In the last security release we added a whitelist for uploadable file types - this missed some common types. We previously added ics & this add pptx
Before
pptx files cannot be uploaded
After
They are in the whitelist
Technical Details
I feel like it would be better to store these as an array somewhere - maybe as the first step to
a metadata construct for Option groups...
Comments
I guess some more of these will pop up - we can maybe treat any found within 6 months of the change as 'regressions'
https://lab.civicrm.org/dev/core/issues/1190