Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F804014
D258.id610.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 26, 9:03 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Thu, Feb 27, 9:03 AM (1 h, 22 m)
Engine
blob
Format
Raw Data
Handle
576731
Attached To
D258: INP-1595 - Allow uploading Microsoft Office 2007+ generated files in CKFinder
D258.id610.diff
View Options
Index: core/ckeditor/ckfinder/config.php
===================================================================
--- core/ckeditor/ckfinder/config.php
+++ core/ckeditor/ckfinder/config.php
@@ -215,7 +215,7 @@
'url' => $baseUrl . 'Files',
'directory' => $baseDir . 'Files',
'maxSize' => 0,
- 'allowedExtensions' => 'jpg,gif,jpeg,png,swf,fla,jpg,gif,jpeg,png,avi,mpg,mpeg,zip,rar,arj,gz,tar,doc,pdf,ppt,rdp,swf,swt,txt,vsd,xls,csv,odt',
+ 'allowedExtensions' => 'jpg,gif,jpeg,png,swf,fla,jpg,gif,jpeg,png,avi,mpg,mpeg,zip,rar,arj,gz,tar,doc,docx,dotx,docm,dotm,pdf,ppt,pptx,potx,ppsx,ppam,pptm,potm,ppsm,rdp,swf,swt,txt,vsd,xls,xlsx,xltx,xlsm,xltm,xlam,xlsb,csv,odt',
'deniedExtensions' => 'php,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,dll,reg');
$config['ResourceType'][] = Array(
@@ -247,7 +247,7 @@
'url' => $baseUrl . 'Documents',
'directory' => $baseDir . 'Documents',
'maxSize' => 0,
- 'allowedExtensions' => 'doc,pdf,ppt,rdp,swf,swt,txt,vsd,xls,csv,zip,odt',
+ 'allowedExtensions' => 'doc,docx,dotx,docm,dotm,pdf,ppt,pptx,potx,ppsx,ppam,pptm,potm,ppsm,rdp,swf,swt,txt,vsd,xls,xlsx,xltx,xlsm,xltm,xlam,xlsb,csv,zip,odt',
'deniedExtensions' => 'php,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,dll,reg');
/*
Event Timeline
Log In to Comment