https://bugzilla.wikimedia.org/show_bug.cgi?id=70124

--- Comment #1 from dan <[email protected]> ---
while working with mediawiki vagrant, i noticed a similar issue to this one.
the vagrant wiki would not follow URLs with redirects and produce the error
“The file extension could not be determined from the file URL:”.

the solution for the vagrant wiki was to add a definition for
CURLOPT_REDIR_PROTOCOLS.

if ( !defined( 'CURLOPT_REDIR_PROTOCOLS' ) ) {
  define(
    "CURLOPT_REDIR_PROTOCOLS",
    CURLPROTO_HTTP|CURLPROTO_HTTPS|CURLPROTO_FTP|CURLPROTO_FTPS
  );
}

i‘m not sure how to add this definition to commons beta in order to test it. is
commons beta using the vagrant gwtoolset role to set itself up? if so, i have
created a patch to that puppet role that should fix the issue once +2'd.
https://gerrit.wikimedia.org/r/#/c/158950

-- 
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

Reply via email to