Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2841 closed defect (bug) (fixed)

No HTTP Content-Type header on 404 page

Reported by: nazgul's profile 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:

Description

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 18 years ago.

Download all attachments as: .zip

Change History (6)

@Nazgul
18 years ago

#1 @Nazgul
18 years ago

  • Keywords bg|has-patch added

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

#2 @ryan
18 years ago

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

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

#3 @ryan
18 years ago

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

#4 @ryan
18 years ago

  • Milestone changed from 2.1 to 2.0.4

#5 @(none)
18 years ago

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.