Skip to main content

Filter: gk/gravityboard/attachments/blocked-extensions

Filters the file extensions refused on a board that allows every file type.

Every extension in a file name is checked, so report.php.jpg is refused for php. Remove an extension from the list only when the site serves that type safely.

Parameters​

NameTypeDescription
$extensionsstring[]Lowercase extensions, without the dot.

Since​

  • 1.6.0

Source​

Defined in src/Attachments/Attachments.php at line 1298