Page MenuHomePhabricator

COPYING is served as application/octet-stream
Open, MediumPublic

Description

$ curl -I https://en.wikipedia.org/w/COPYING
HTTP/1.1 200 OK
[snip]
Content-Type: application/octet-stream

This results in people attempting to view the MediaWiki license getting a save file promt. Should be text/plain instead.


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/w/COPYING
See Also:
https://rt.wikimedia.org/Ticket/Display.html?id=6915

Details

Reference
bz61903

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:54 AM
bzimport set Reference to bz61903.
bzimport added a subscriber: Unknown Object (MLST).
fgiunchedi claimed this task.
fgiunchedi merged a task: Restricted Task.
fgiunchedi added subscribers: Aklapper, rtimport.

old/fixed

$ curl -sI https://en.wikipedia.org/w/COPYING | grep -i content-type
Content-Type: text/html; charset=utf-8

Well, that's because it's a 404 now ;)

whoops! I jumped the gun there, apologies.
is the file to be found somewhere else now?

@MaxSem ideas whether we are (or should) be serving COPYING?

Hmm.

Remove w/COPYING and w/CREDITS dead symlinks

Not sure how useful these were to be exposed. But considering
they were added on purpose, maybe we should add the new versions
of these. Or add redirects, or keep back-compat symlinks.

For now, removing the dead symlinks.

Change-Id: I6594bc82b9de3f52a38e896db3f8dbfbda2ebed2

indeed, I don't think there's anything operations can help with at the moment, let us know if that's not the case though!