Typo in lib/htmloutputter.php makes server crash

Typo in lib/htmloutputter.php makes server crash

Issue ID:3265
Issue Category:bug
Component:core
Priority:critical
Status:fixed
Assigned:Unassigned
Version:1.0
Keywords:core, header, XSS prevention

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Apache/2.2.3 (CentOS) Server at mitib.com.my Port 80

on httpd error log display as
[error] [client 60.49.106.33] malformed header from script. Bad header=X-XSS-Protection 1; mode=block: index.php

Fix is in lib/htmloutputter.php, line 114.

Replace:
header('X-XSS-Protection 1; mode=block');

with

header('X-XSS-Protection: 1; mode=block');

Updates

#1

Status:active» fixed
Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.