#19842 closed defect (bug) (duplicate)
Import files with accents create an error 404
Reported by: | FxBe | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.1 |
Component: | Media | Keywords: | 2nd-opinion needs-patch |
Focuses: | Cc: |
Description
I'm using wp in french on windows 7.
If i import a file : aéèâ.txt
in my upload folder it becomes : aéèâ.txt
and then i get error 404 on the link.
Change History (6)
#2
@
13 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
This is specific to Windows builds of PHP (see my comment in #15955).
Not sure if there's a good solution until PHP supports working with Windows filenames in Unicode.
#3
follow-up:
↓ 4
@
13 years ago
Thanks for the fix and the coming patch.
Now with your plugin i got a security message error when i try to import the file.
"This type of file is not supported for security reasons" and so any importation is impossible
#4
in reply to:
↑ 3
@
13 years ago
Replying to FxBe:
"This type of file is not supported for security reasons"
Is it the same "aéèâ.txt" file you are trying to upload? Seems to be uploading correctly on my install (with the plugin).
Note: See
TracTickets for help on using
tickets.
I can confirm this. Same for Scandinavian characters like æäøöå, on Windows servers. If I open Explorer on the server, or use FTP, I see that the files names are incorrect. If I correct the file names to the actual file name of the uploaded file then the problem is fixed immediately.