Search for fileName

  1. Search 9.5.x for fileName
  2. Search 8.9.x for fileName
  3. Search 10.3.x for fileName
  4. Search 11.x for fileName
  5. Other projects
Title Object type File name Summary
Archive_Tar::_isMaliciousFilename function modules/system/system.tar.inc Detect and report a malicious file name
BootstrapGetFilenameTestCase class modules/simpletest/tests/bootstrap.test Test drupal_get_filename()'s availability.
BootstrapGetFilenameTestCase::$getFilenameTestTriggeredError property modules/simpletest/tests/bootstrap.test The last file-related error message triggered by the filename test.
BootstrapGetFilenameTestCase::fileNotFoundErrorHandler function modules/simpletest/tests/bootstrap.test Skips handling of "file not found" errors.
BootstrapGetFilenameTestCase::getInfo function modules/simpletest/tests/bootstrap.test
BootstrapGetFilenameTestCase::testDrupalGetFilename function modules/simpletest/tests/bootstrap.test Test that drupal_get_filename() works correctly when the file is not found in the database.
BootstrapGetFilenameWebTestCase class modules/simpletest/tests/bootstrap.test Test drupal_get_filename() in the context of a full Drupal installation.
BootstrapGetFilenameWebTestCase::$getFilenameTestTriggeredError property modules/simpletest/tests/bootstrap.test The last file-related error message triggered by the filename test.
BootstrapGetFilenameWebTestCase::fileNotFoundErrorHandler function modules/simpletest/tests/bootstrap.test Skips handling of "file not found" errors.
BootstrapGetFilenameWebTestCase::getInfo function modules/simpletest/tests/bootstrap.test
BootstrapGetFilenameWebTestCase::setUp function modules/simpletest/tests/bootstrap.test Sets up a Drupal site for running functional and integration tests.
BootstrapGetFilenameWebTestCase::testDrupalGetFilename function modules/simpletest/tests/bootstrap.test Test that drupal_get_filename() works correctly with a full Drupal site.
BootstrapGetFilenameWebTestCase::testRecursiveRebuilds function modules/simpletest/tests/bootstrap.test Test that drupal_get_filename() does not break recursive rebuilds.
BootstrapGetFilenameWebTestCase::testWatchdog function modules/simpletest/tests/bootstrap.test Test that watchdog messages about missing files are correctly recorded.
drupal_get_filename function includes/bootstrap.inc Returns and optionally sets the filename for a system resource.
FileNameMungingTest class modules/simpletest/tests/file.test Tests for file_munge_filename() and file_unmunge_filename().
FileNameMungingTest::$bad_extension property modules/simpletest/tests/file.test
FileNameMungingTest::$name property modules/simpletest/tests/file.test
FileNameMungingTest::$name_with_uc_ext property modules/simpletest/tests/file.test
FileNameMungingTest::getInfo function modules/simpletest/tests/file.test
FileNameMungingTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileNameMungingTest::testMungeIgnoreInsecure function modules/simpletest/tests/file.test If the allow_insecure_uploads variable evaluates to true, the file should
come out untouched, no matter how evil the filename.
FileNameMungingTest::testMungeIgnoreWhitelisted function modules/simpletest/tests/file.test White listed extensions are ignored by file_munge_filename().
FileNameMungingTest::testMungeNullByte function modules/simpletest/tests/file.test Tests munging with a null byte in the filename.
FileNameMungingTest::testMungeUnsafe function modules/simpletest/tests/file.test Tests unsafe extensions are munged by file_munge_filename().
FileNameMungingTest::testMunging function modules/simpletest/tests/file.test Create a file and munge/unmunge the name.
FileNameMungingTest::testUnMunge function modules/simpletest/tests/file.test Ensure that unmunge gets your name back.
FileSaveDataTest::testWithFilename function modules/simpletest/tests/file.test Test the file_save_data() function when a filename is provided.
FileSaveDataTest::testWithoutFilename function modules/simpletest/tests/file.test Test the file_save_data() function when no filename is provided.
file_create_filename function includes/file.inc Creates a full file path from a directory and filename.
file_munge_filename function includes/file.inc Modifies a filename as needed for security purposes.
file_unmunge_filename function includes/file.inc Undoes the effect of file_munge_filename().
Reader::$fileName property misc/typo3/phar-stream-wrapper/src/Phar/Reader.php
RegistryParseFileTestCase::$fileName property modules/simpletest/tests/registry.test
system_test_drupal_get_filename function modules/simpletest/tests/system_test.module Page callback to run drupal_get_filename() on a particular module.
system_test_drupal_get_filename_with_schema_rebuild function modules/simpletest/tests/system_test.module Page callback to run drupal_get_filename() and do a schema rebuild.
UpdateTestUploadCase::testFileNameExtensionMerging function modules/update/update.test Ensures that archiver extensions are properly merged in the UI.
_drupal_get_filename_fallback function includes/bootstrap.inc Performs a cached file system scan as a fallback when searching for a file.
_drupal_get_filename_fallback_trigger_error function includes/bootstrap.inc Triggers a user-level warning for missing or unexpectedly moved files.
_drupal_get_filename_perform_file_scan function includes/bootstrap.inc Performs a file system scan to search for a system resource.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.