FileExtensionConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php |
Tests the FileExtensionConstraintValidator. |
FileExtensionConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php |
|
FileExtensionConstraintValidatorTest::providerTestFileValidateExtensionsOnUri |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php |
Data provider for ::testFileExtensionOnUri. |
FileExtensionConstraintValidatorTest::testFileExtensionOnUri |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php |
Tests the FileExtensionConstraintValidator. |
FileExtensionFormatter |
class |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Formatter to render a filename as file extension. |
FileExtensionFormatter.php |
file |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionFormatter::defaultSettings |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionFormatter::isApplicable |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionFormatter::settingsForm |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionFormatter::viewValue |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionSecureConstraint |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php |
File extension secure constraint. |
FileExtensionSecureConstraint.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php |
|
FileExtensionSecureConstraint::$message |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php |
The error message. |
FileExtensionSecureConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
Validator for the FileExtensionSecureConstraint. |
FileExtensionSecureConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
|
FileExtensionSecureConstraintValidator::create |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
|
FileExtensionSecureConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
|
FileExtensionSecureConstraintValidator::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
Creates a new FileExtensionSecureConstraintValidator. |
FileExtensionSecureConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
Tests the FileExtensionSecureConstraintValidator. |
FileExtensionSecureConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
|
FileExtensionSecureConstraintValidatorTest::testValidate |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
@covers ::validate |
FileFieldValidateTest::testFileExtension |
function |
core/modules/file/tests/src/Functional/FileFieldValidateTest.php |
Tests file extension checking. |
FileFieldWidgetTest::testFileExtensionsSetting |
function |
core/modules/file/tests/src/Functional/FileFieldWidgetTest.php |
Tests configuring file field's allowed file extensions setting. |
FileItem::validateExtensions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Form API callback. |
FileSanitizationEventSubscriber::$allowedExtensions |
property |
core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php |
The allowed extensions. |
FileSanitizationEventSubscriber::getAllowedExtensions |
function |
core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php |
Gets the allowed extensions. |
FileSaveUploadTest::testFileSaveUploadEmptyExtensions |
function |
core/modules/file/tests/src/Kernel/FileSaveUploadTest.php |
Tests file_save_upload() with empty extensions. |
FileStorage::getFileExtension |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Returns the file extension used by the file storage for all configuration files. |
FileSystemInterface::INSECURE_EXTENSIONS |
constant |
core/lib/Drupal/Core/File/FileSystemInterface.php |
A list of insecure extensions. |
FileSystemInterface::INSECURE_EXTENSION_REGEX |
constant |
core/lib/Drupal/Core/File/FileSystemInterface.php |
The regex pattern used when checking for insecure file types. |
FilesystemLoader::$allowedFileExtensions |
property |
core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php |
Allowed file extensions. |
FileUploadHandler::DEFAULT_EXTENSIONS |
constant |
core/modules/file/src/Upload/FileUploadHandler.php |
The default extensions if none are provided. |
FileUploadHandler::handleExtensionValidation |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Gets the list of allowed extensions and updates the validators. |
FileUploadHandlerTest::testLegacyExtensions |
function |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
Tests the legacy extension support. |
FileUploadResourceTestBase::testFileUploadMaliciousExtension |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload POST route with malicious extensions. |
FileUploadResourceTestBase::testFileUploadNoExtensionSetting |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload POST route no extension configured. |
FileUploadSanitizeNameEvent::$allowedExtensions |
property |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
A list of allowed extensions. |
FileUploadSanitizeNameEvent::getAllowedExtensions |
function |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
Gets the list of allowed extensions. |
FileUploadSanitizeNameEventTest::testAllowedExtensions |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
@covers ::getAllowedExtensions |
FileUploadTest::testFileUploadMaliciousExtension |
function |
core/modules/jsonapi/tests/src/Functional/FileUploadTest.php |
Tests using the file upload POST route with malicious extensions. |
file_validate_extensions |
function |
core/modules/file/file.module |
Checks that the filename ends with an allowed extension. |
FTPExtension |
class |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Defines a file transfer class using the PHP FTP extension. |
FTPExtension.php |
file |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
|
FTPExtension::chmodJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Changes the permissions of the file / directory specified in $path. |
FTPExtension::connect |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Connects to the server. |
FTPExtension::copyFileJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Copies a file. |
FTPExtension::createDirectoryJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Creates a directory. |
FTPExtension::isDirectory |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Checks if a particular path is a directory. |
FTPExtension::isFile |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Checks if a particular path is a file (not a directory). |
FTPExtension::removeDirectoryJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Removes a directory. |