Opened 8 years ago
Closed 8 years ago
#37163 closed defect (bug) (duplicate)
Invalid filename after upload
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upload | Keywords: | |
Focuses: | Cc: |
Description
I have two problems during upload:
- I have filename:
FitEasy-Konkurs-Koktajle-po-obróbce-6070.jpg
. After upload file is saved in wp-content/uploads with invalid filename:FitEasy-Konkurs-Koktajle-po-obroĚbce-6070-300x199.jpg
. Very important: this char:ó
(ASCII: 111) not is a polishó
(ASCII: 195).
- So problem is with filename with polish chars:
ĘÓĄŚŁŻŹĆŃęóąśłżźćń.jpg
. After upload in uploads dir I can seeÄÓĄŚůŹĆĹęóąśłżźćń.jpg
. So I cant see preview because this can't find file in serwer.
Problem is in Windows 10, PHP Version 5.5.9, Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
If I use Filenames to latin
plugin second problem not exists but exists first problem.
I think that WordPress should take care that uploaded filenames should be valid without use other plugins. I think that this is important error with upload.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #15955.