Last modified: 2013-05-22 13:39:44 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 T49732, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47732 - Chrome blocks API calls to foreign Wikipedia APIs due to insecure protocol
Chrome blocks API calls to foreign Wikipedia APIs due to insecure protocol
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-26 14:21 UTC by Pavel Selitskas [wizardist]
Modified: 2013-05-22 13:39 UTC (History)
3 users (show)

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


Attachments

Description Pavel Selitskas [wizardist] 2013-04-26 14:21:44 UTC
When I try to link the newly created article with a Wikidata item, it's proposed to specify a project and an article in it.

I use HTTPS protocol in Wikipedia, and WikidataClient tries to access foreign Wikipedia APIs via HTTP. Thus it's been blocked by Chrome:

[blocked] The page at https://be-x-old.wikipedia.org/[skipped] ran insecure content from http://en.wikipedia.org/w/api.php?[skipped].

It appears that wbSiteDetails is not populated the right way: apiUrl and pageUrl should keep the current protocol, shouldn't they? We could use protocol independent URLs, but I'm not sure whether jQuery interprets them correctly in ajax requests.
Comment 1 Gerrit Notification Bot 2013-05-01 22:59:25 UTC
Related URL: https://gerrit.wikimedia.org/r/61917 (Gerrit Change I8d13025726300f367e054f3ace52c945003d80c4)
Comment 2 Gerrit Notification Bot 2013-05-14 13:06:16 UTC
https://gerrit.wikimedia.org/r/61917 (Gerrit Change I8d13025726300f367e054f3ace52c945003d80c4) | change APPROVED and MERGED [by jenkins-bot]
Comment 3 abraham.taherivand 2013-05-22 13:39:44 UTC
Verified in Wikidata demo sprint 22-5

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


Navigation
Links