Last modified: 2012-12-13 11:21:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42550, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40550 - Use http get with https whenever possible
Use http get with https whenever possible
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 2
:
Depends on:
Blocks: 40573
  Show dependency treegraph
 
Reported: 2012-09-27 11:11 UTC by abraham.taherivand
Modified: 2012-12-13 11:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description abraham.taherivand 2012-09-27 11:11:26 UTC

    
Comment 1 jeblad 2012-09-28 10:33:04 UTC
There were two place you're calling Http::get(), it would be nice if they could both be forced to use https. It looks like you're using the data pulled back to populate objects, which is fine for the objects you're currently using, but if you start building objects that could effect access control, then you want to make sure you have the correct data.
Comment 2 Daniel Kinzler 2012-09-30 10:10:59 UTC
Partial fix in Idf0a6547, but that does not address the issues raised about HTTP requests from the MediaWikiSite class. If I remember the discussion correctly, we agreed that any protocol-relative base URL should default to using HTTPs - at least for Wikimedia sites. That needs additional work.
Comment 3 Aude 2012-10-01 16:52:02 UTC
With the patch in https://gerrit.wikimedia.org/r/#/c/25509/ and doing a fresh install of MW + Wikibase repo (running maintenance/update.php), I get the following error:

Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/wikidata-repo/extensions/Wikibase/lib/includes/Utils.php on line 88

When I change the "https" back to "http", then it works.  There must be some other solution for this to work correctly.
Comment 4 Anja Jentzsch 2012-11-29 12:42:35 UTC
Verified in Wikidata demo time for sprint 18

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links