https://bugzilla.wikimedia.org/show_bug.cgi?id=69453
Bug ID: 69453
Summary: TimedMediaHandler making bad action=raw requests
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: TimedMediaHandler
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
In the CentralAuth bug 39996 debug logs we're seeing requests coming through
with $_SERVER['REQUEST_URI'] set to
/wiki/:South+Africa+National+Anthem.ogg.af.srt?action=raw&ctype=text/x-srt
Problems here:
1. Namespace is missing
2. Using + instead of _
3. Passing ctype=text/x-srt doesn't work. RawAction has a whitelist and
converts it to text/x-wiki AFAIS
4. Visiting that URL in my browser throws a "Invalid file extension found in
the path info or query string." Even with proper namespace
(<https://commons.wikimedia.org/wiki/TimedText:South_Africa_National_Anthem.ogg.af.srt?action=raw&ctype=text/x-srt>),
I still see the same error.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l