Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1170048
D258.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
Sat, Sep 27, 12:05 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Sun, Sep 28, 12:05 AM (14 h, 44 m)
Engine
blob
Format
Raw Data
Handle
758156
Attached To
D258: INP-1595 - Allow uploading Microsoft Office 2007+ generated files in CKFinder
D258.diff
View Options
Index: branches/5.2.x/core/ckeditor/ckfinder/config.php
===================================================================
--- branches/5.2.x/core/ckeditor/ckfinder/config.php
+++ branches/5.2.x/core/ckeditor/ckfinder/config.php
@@ -221,7 +221,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(
@@ -253,7 +253,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