Files
wordpress-develop/tests/phpunit/tests/formatting
Jb Audras 4b71b1565a Media: Replace consecutive periods in sanitize_file_name().
On some servers, consecutive periods in a filename can cause a 403 Forbidden response.
This changeset replaces consecutive periods with a single period, and adds related unit tests.

Props ArtZ91, costdev, SergeyBiryukov, arthurshlain, mukesh27.
Fixes #57242.


git-svn-id: https://develop.svn.wordpress.org/trunk@55209 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-03 12:46:18 +00:00
..
2022-06-23 20:27:34 +00:00
2022-06-23 20:27:34 +00:00
2022-06-23 20:27:34 +00:00