[wp-trac] [WordPress Trac] #57242: Remove redundant dot in sanitize_file_name function
WordPress Trac
noreply at wordpress.org
Thu Dec 1 12:27:15 UTC 2022
#57242: Remove redundant dot in sanitize_file_name function
-------------------------+-----------------------------
Reporter: ArtZ91 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Some web-servers returns Forbidden error if filename contains redundant
dot, for example: filename..jpg
Maybe need to trim this dot inside sanitize_file_name.
https://github.com/WordPress/wordpress-develop/pull/3713
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57242>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list