public function SecurityReviewController::unsafeExtensions in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/Controller/SecurityReviewController.php \Drupal\acquia_connector\Controller\SecurityReviewController::unsafeExtensions()
- 3.x src/Controller/SecurityReviewController.php \Drupal\acquia_connector\Controller\SecurityReviewController::unsafeExtensions()
Helper function defines file extensions considered unsafe.
1 call to SecurityReviewController::unsafeExtensions()
- SecurityReviewController::checkUploadExtensions in src/
Controller/ SecurityReviewController.php - Check upload extensions.
File
- src/
Controller/ SecurityReviewController.php, line 526
Class
- SecurityReviewController
- Acquia Security Review page.
Namespace
Drupal\acquia_connector\ControllerCode
public function unsafeExtensions() {
return [
'swf',
'exe',
'html',
'htm',
'php',
'phtml',
'py',
'js',
'vb',
'vbe',
'vbs',
];
}