silverstripe / silverstripe-assets

Silverstripe Assets component
BSD 3-Clause "New" or "Revised" License
9 stars 65 forks source link

IIS not serving tinymce.js properly due to web.config #350

Open jinjie opened 4 years ago

jinjie commented 4 years ago

Affected version: <= 4.4.4

.js extension file is not added in web.config in public/assets/web.config because js extension is not included in File::allowed_extensions.

This is causing the cms to break as it cannot load tinymce file although it is generated and located in public/assets/_tinymce

Quick workaround, I added the following in mysite.yml

SilverStripe\Assets\File:
  allowed_extensions:
    - js
UndefinedOffset commented 2 years ago

This also affects 4.8.0 as well