Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported protocol-relative $wgServer #81

Open
Seb35 opened this issue Jul 31, 2015 · 0 comments
Open

Unsupported protocol-relative $wgServer #81

Seb35 opened this issue Jul 31, 2015 · 0 comments

Comments

@Seb35
Copy link

Seb35 commented Jul 31, 2015

I just tested this extension (in order to answer a serverfault question). When I tried to download an attachment, it didn’t work.

After some investigation, it appeared the case where $wgServer is defined as protocol-relative (e.g. $wgServer = '//www.example.org') doesn’t work. The error I got was in download/FileStreamer.php line 58. And the problem got fixed when I changed $wgServer to 'https://www.example.org'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant