Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2841 closed defect (bug) (fixed)

No HTTP Content-Type header on 404 page

Reported by: Nazgul Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.3
Component: General Keywords: HTTP Content-Type header 404 bg|has-patch
Focuses: Cc:


I noticed that WordPress doesn't emit a Content-Type HTTP header on 404 pages.
As a result the PHP default is being used, which results in 'weird' characters on those pages.

See http://wordpress.org/support/topic/76331 for more info.

Attachments (1)

2841.diff (612 bytes) - added by Nazgul 9 years ago.

Download all attachments as: .zip

Change History (6)

@Nazgul9 years ago

comment:1 @Nazgul9 years ago

  • Keywords bg|has-patch added

Fix turned out to be a lot easier than expected. Patch uploaded.

comment:2 @ryan9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3914]) Send Content-type for 404s. Props Nazgul. fixes #2841

comment:3 @ryan9 years ago

(In [3915]) Send Content-type for 404s. Props Nazgul. fixes #2841

comment:4 @ryan9 years ago

  • Milestone changed from 2.1 to 2.0.4

comment:5 @anonymous9 years ago

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.