HtmlArea imageselector does not respect allowPath config

Hello,

I recently had to use

<config>
  <allowPath>${site}/*</allowPath>
</config>

on image/media selectors in a project that contains multiple sites/editors to prevent them from seeing/using each others images in the selectors. And it’s working as expected.

However, the HtmlArea input type can also use an imageselector to insert images and doesn’t seem able to use this allowPath configuration when I added it to the HtmlArea type input form xml. I was wondering if this is a bug/oversight, or if it should be a feature request?

Hello, @Roeland, thanks for reporting this! This is an oversight, we will create issue for it and will add a possibility to configure allowed paths for HtmlArea’s image selector in one of the future releases.

3 Likes