Page MenuHomePhabricator

CType application/rss+xml seems to be served as text/x-wiki
Closed, InvalidPublic

Description

Author: Wiki.Melancholie

Description:
According to FEED Validator, ctype="application/rss+xml" is served as "text/x-wiki"; see URL


Version: unspecified
Severity: enhancement
URL: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DWikipedia%3AWikiProject_Spoken_Wikipedia%2Frss%26action%3Draw%26ctype%3Dapplication%2Frss%2Bxml

Details

Reference
bz14499

Event Timeline

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

application/rss+xml is not a safe type (as it may contain arbitrary HTML etc), and is not on the action=raw type whitelist. Thus it falls back to the default.

You're asking for the raw page content, which is text/x-wiki
Not all ctypes are allowed, in fact only a few.
Maybe you wanted to ask for whitelisting it/creating an equivalent feature?