You are here

6 calls to file_munge_filename() in Zircon Profile 8

file_save_upload in core/modules/file/file.module
Saves file uploads to a new location.
NameMungingTest::testMungeIgnoreInsecure in core/modules/system/src/Tests/File/NameMungingTest.php
If the system.file.allow_insecure_uploads setting evaluates to true, the file should come out untouched, no matter how evil the filename.
NameMungingTest::testMungeIgnoreWhitelisted in core/modules/system/src/Tests/File/NameMungingTest.php
White listed extensions are ignored by file_munge_filename().
NameMungingTest::testMungeNullByte in core/modules/system/src/Tests/File/NameMungingTest.php
Tests munging with a null byte in the filename.
NameMungingTest::testMunging in core/modules/system/src/Tests/File/NameMungingTest.php
Create a file and munge/unmunge the name.
NameMungingTest::testUnMunge in core/modules/system/src/Tests/File/NameMungingTest.php
Ensure that unmunge gets your name back.