Last modified: 2013-07-25 09:05:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50342, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48342 - MediaWiki silently breaks when you enable $wgValidateAllHtml outside of Apache
MediaWiki silently breaks when you enable $wgValidateAllHtml outside of Apache
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Alexandre Emsenhuber [IAlex]
:
: 48343 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-11 00:00 UTC by Daniel Friesen
Modified: 2013-07-25 09:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Friesen 2013-05-11 00:00:35 UTC
wfOutputHandler's $wgValidateAllHtml block uses apache_response_headers() which is not present in all SAPIs without checking if it exists. This leads to an error.

However because wfOutputHandler is an output handler printing output is not permitted and the error that's triggered gets swallowed up.
Comment 1 Alex Monk 2013-05-11 00:01:33 UTC
*** Bug 48343 has been marked as a duplicate of this bug. ***
Comment 2 Alexandre Emsenhuber [IAlex] 2013-05-14 13:39:32 UTC
Patch in Gerrit change #63631.
Comment 3 Andre Klapper 2013-05-29 12:25:38 UTC
IAlex: FYI, adding "bug: 48342" as the last line in your commit message will make the Gerrit bot automatically add a comment to the corresponding bug report, see http://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links