binary files with accented characters return a 404 error
-
Hi,
My webserver has kind of a weird behavior regarding binary files with accented characters in it (I know it’s not good practice, but my client didn’t know about that).
Apache has AddDefaultCharset set to utf-8
ascii files with accented characters are working fine when you access it from a browser.
binary files with accented characters on the contrary, have this weird behavior in 2 part :
If uploaded from within WordPress admin, they work fine and can be requested
If uploaded from FTP, they return a 404 error when you request themI tried to modify owner and permissions on the files to see if it was coming from there, but it didn’t change anything.
Here are 2 identic images as an example, the first uploaded from WP, the other from FTP
http://fr.ooh-tv.com/wp-content/uploads/2013/04/tést-file1.jpg
http://fr.ooh-tv.com/wp-content/uploads/2013/04/bigé.jpgAs anyone encountered this before ?
- The topic ‘binary files with accented characters return a 404 error’ is closed to new replies.