Opened 11 years ago
Closed 11 years ago
#27281 closed defect (bug) (fixed)
Videos with a space in the filename can break
Reported by: | wonderboymusic | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
The "space" here is actually "\xc2\xa0" - and it's impossible to see: 26-XO Video.m4v
Need to take a look. The file gets passed around through JS, is on the page in JSON for playlists. The problem is that the video won't play. Need to figure out where in the chain to sanitize or not.
Attachments (1)
Change History (6)
This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. View the logs.
11 years ago
This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. View the logs.
11 years ago
Note: See
TracTickets for help on using
tickets.
27281.diff replaces "\u00a0" / "\xc2\xa" with a non-breaking space in
sanitize_file_name()
. Fixes it for me.