October: Can not add new folder in Media Manager

Created on 12 Apr 2017  路  5Comments  路  Source: octobercms/october

Expected behavior

The Apply button in the "Add folder" window in the Media Manager should add a new folder

Actual behavior

An error occurs: "The file type used is blocked for security reasons."

Reproduce steps

Add folder in media manager

October build

413

I think this happens after the update "Build 413 - Security fixes for Media Manager and Asset Manager". First, it checks for a valid file type, but if it's a folder, it doesn't have an extension and is therefore not included in the list of defaultExtensions

Most helpful comment

Problem line: https://github.com/octobercms/october/blob/master/modules/cms/widgets/MediaManager.php#L355

I'll let @daftspunk know about it and we'll probably have a fix by end of day today. Thanks for catching this!

All 5 comments

Same here !

Same problem on my end!

Problem line: https://github.com/octobercms/october/blob/master/modules/cms/widgets/MediaManager.php#L355

I'll let @daftspunk know about it and we'll probably have a fix by end of day today. Thanks for catching this!

@LukeTowers thanks for the speedy response!

Fixed in Build 414+ (9df40c07b83b4b53eed0f784a61dd73f52d416b2)

Was this page helpful?
0 / 5 - 0 ratings