Issue #3151087 by rik-dev, dww, alexpott, Matroskeen: Replace use of...
Issue #3151087 by rik-dev, dww, alexpott, Matroskeen: Replace use of whitelist/blacklist in file_munge_filename() and its tests
(cherry picked from commit 9eb7a173)
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
$this->assertSame($munged_name,$this->nameWithUcExt,newFormattableMarkup('The new filename (%munged) matches the original (%original) once the extension has been whitelisted.',['%munged'=>$munged_name,'%original'=>$this->nameWithUcExt]));
$this->assertSame($munged_name,$this->name,newFormattableMarkup('The new filename (%munged) matches the original (%original) also when the whitelisted extension is in uppercase.',['%munged'=>$munged_name,'%original'=>$this->name]));