Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m50s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m34s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m45s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m30s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 7m7s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 7m9s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m8s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m5s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 48s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m5s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
16 lines
588 B
PHP
16 lines
588 B
PHP
<?php
|
|
|
|
namespace App\Support;
|
|
|
|
/**
|
|
* Dateitypen, die nirgends hochgeladen werden dürfen (ausführbar, Skripte, Webseiten).
|
|
* Eine Liste für alle Upload-Stellen (Seiten, Downloads …).
|
|
*/
|
|
final class BlockedFiles
|
|
{
|
|
public const EXTENSIONS = [
|
|
'php', 'phtml', 'phar', 'php3', 'php4', 'php5', 'php7', 'php8', 'pht', 'shtml', 'htaccess',
|
|
'exe', 'bat', 'cmd', 'com', 'sh', 'msi', 'ps1', 'psm1', 'vbs', 'vbe', 'wsf', 'wsh', 'scr', 'hta', 'jar', 'lnk', 'reg', 'cpl',
|
|
'js', 'mjs', 'html', 'htm', 'svg', 'xhtml', 'jsp', 'asp', 'aspx', 'cgi', 'pl', 'py',
|
|
];
|
|
}
|