Page MenuHomePhabricator

Syntax error on doctype declaration on payments server
Closed, ResolvedPublic

Description

No idea why. Here's the error:

Error: syntax error
Source File: https://payments.wikimedia.org/index.php?title=-&action=raw&gen=js&useskin=vector&270
Line: 1
Source Code:
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


Version: unspecified
Severity: minor

Details

Reference
bz25461

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:14 PM
bzimport set Reference to bz25461.

This is because of the the inclusion of "/index.php?title=-&amp;action=raw&amp;maxage=18000&amp;gen=css". That CSS page does not exist on the payments server, and instead the normal index.php html is returned, which is clearly not of type text/css.

So simple to fix :D

I don't know much about overriding the default css includes. Would setting $wgAllowUserCss to false fix this?

Looks like we need to whitelist those pages. Arthur is fixing...