Wordpress/tests
John Blackbourn 3e9a42ed27 Filesystem API: Add more specificity to the rules for valid files in validate_file().
This now treats files containing `./` as valid, and also treats files containing a trailing `../` as valid due to widespread use of this pattern in theme and plugin zip files.

Adds tests.

Props Ipstenu, borgesbruno, DavidAnderson, philipjohn, birgire
Fixes #42016, #36170


git-svn-id: https://develop.svn.wordpress.org/trunk@42011 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-24 23:14:33 +00:00
..
phpunit Filesystem API: Add more specificity to the rules for valid files in validate_file(). 2017-10-24 23:14:33 +00:00
qunit Customize: Allow menu creation in locations pane 2017-10-18 14:50:34 +00:00