Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
file.inc
»
file_munge_filename
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
6 calls to file_munge_filename()
FileNameMungingTest::testMungeIgnoreInsecure
in drupal/
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
in drupal/
modules/
simpletest/
tests/
file.test
White listed extensions are ignored by
file_munge_filename
().
FileNameMungingTest::testMungeNullByte
in drupal/
modules/
simpletest/
tests/
file.test
Tests munging with a null byte in the filename.
FileNameMungingTest::testMunging
in drupal/
modules/
simpletest/
tests/
file.test
Create a file and munge/unmunge the name.
FileNameMungingTest::testUnMunge
in drupal/
modules/
simpletest/
tests/
file.test
Ensure that unmunge gets your name back.
file_save_upload
in drupal/
includes/
file.inc
Saves a file upload to a new location.