WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#23267 new defect (bug)

Encoding problem with displaying filenames

Reported by: pavelevap Owned by:
Priority: normal Milestone: 3.6
Component: Media Version: 3.5
Severity: normal Keywords: has-patch needs-testing
Cc: pavelevap@…

Description

Reported here: #21217 (first point).

It was repaired, but probably only for older media stuff (pre 3.5). Tested with latest version and there are still problems with displaying filenames. Testing media filename: "Žluťoučký kůň.png"

  • File successfully uploaded as "Žluťoučký-kůň.png" (space replaced).
  • But filename is displayed as "luťoučký-kůň.png".

Filename is saved right in database, but wrong filename can be seen in Save metabox or in Media modal window.

Attachments (1)

23267.patch (1.0 KB) - added by SergeyBiryukov 5 months ago.

Download all attachments as: .zip

Change History (3)

SergeyBiryukov5 months ago

comment:1 SergeyBiryukov5 months ago

  • Keywords has-patch needs-testing added
  • Milestone changed from Awaiting Review to 3.6

comment:2 pavelevap5 months ago

Thank you, Sergey! I thought there are more wp_basename() functions needed...

Note: See TracTickets for help on using tickets.