Page MenuHomePhabricator

Bad CSS path in RSS feeds due to wgServer
Closed, ResolvedPublic

Description

Author: mediawiki

Description:
The path for feed.css in ChannelFeed->outXMLHeader() is using
"$wgServer$wgStylePath". If one is using an alternative (external) style path,
the path is wrong. This is the only case I can see of $wgServer being prepended
to $wgStylePath, so I can only assume it is an error.


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz5262

Related Objects

StatusSubtypeAssignedTask
OpenFeatureNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5262.
bzimport added a subscriber: Unknown Object (MLST).

mediawiki wrote:

Proposed fix.

Attached:

Fixed in r30884. A fully-qualified URL is used here out of paranoia; it may or may not be actually necessaary. Added a check, so $wgServer is now only prepended if the path starts with "/".