-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CVE-2020-9309] Require MimeUploadValidator on userformis' File Uploa…
…d field
- Loading branch information
Maxime Rainville
authored and
Garion Herman
committed
Jul 12, 2020
1 parent
6f04f95
commit 9e008e6
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
Name: mimeuploadvalidator-userforms | ||
--- | ||
SilverStripe\Core\Injector\Injector: | ||
SilverStripe\Assets\Upload_Validator.userforms: | ||
class: SilverStripe\MimeValidator\MimeUploadValidator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters