/
Remove redundant "deniedExtensions" in CKFinder configuration [5.2.2-B1]

Remove redundant "deniedExtensions" in CKFinder configuration [5.2.2-B1]

The WSYIWYG editor is used by In-Portal to allow entering of rich text in the CMS blocks and other places on website. It looks like this (for In-Portal 5.2.x and above):

It also comes with File Manager component called CKFinder:

As part of CKFinder configuration the following is specified:

  • resource types (e.g. "Images", "Documents", etc.)
  • allowed file extensions for each resource type
  • denied file extensions for each resource type

Looks at file extension checking code in CKEditor it becomes obvious, that if "allowed file extensions" are defined, then "denied file extensions" setting is completely ignored.

Solution

In the "/ckeditor/ckfinder/config.php" file set an empty string as value for "deniedExtensions" setting for each resource type.

Related Tasks