Use https for accessing the linkedin API

Bug #1155009 reported by Marcel van der Boom (HS-Development BV)
This bug report is a duplicate of:  Bug #1135873: linked-in plugin and https. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Using https as the default to access the LinkeIn API makes more sense than http. Even better: allow this to be configurable.

Patch:

=== modified file 'web_linkedin/static/src/js/linkedin.js'
--- web_linkedin/static/src/js/linkedin.js 2012-11-15 15:09:45 +0000
+++ web_linkedin/static/src/js/linkedin.js 2013-03-01 16:02:03 +0000
@@ -19,7 +19,7 @@
                     return self.linkedin_def.promise();
                 var tag = document.createElement('script');
                 tag.type = 'text/javascript';
- tag.src = "http://platform.linkedin.com/in.js";
+ tag.src = "https://platform.linkedin.com/in.js";
                 tag.innerHTML = 'api_key : ' + self.api_key + '\nauthorize : true\nscope: r_network r_contactinfo';
                 document.getElementsByTagName('head')[0].appendChild(tag);
                 self.linkedin_added = true;

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.