tward16 / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Blocked content on secure SSL connection (https) #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Browsers block the content for this plugin when it tries to fetch data from 
picasa.

The problem is that the url to the picasa api is hard-coded to "http://..."

It should look at location.protocol to determine the protocol to use for 
communication with external parties.

I made a patch for the jquery.pwi.js that defines a 
    var protocol = location.protocol; 

in the top of the method. and uses this variable as a prefix for urls to 
picasa, google maps and youtube:

    picasaUrl: protocol+"//picasa..."

See attached file for the patch. It is tested in IE9 and Chrome. (only the 
pictures part - not the maps og the youtube part)

Thank you for a great plugin, though :)

Original issue reported on code.google.com by ste...@e-nation.dk on 25 Sep 2012 at 9:07

Attachments:

GoogleCodeExporter commented 8 years ago
What about just removing the protocol al together.

Original comment by lsole...@gmail.com on 4 Apr 2014 at 3:05

Attachments:

GoogleCodeExporter commented 8 years ago
thanks, your patch was helpfull to me:)

Original comment by tch...@gmail.com on 11 Jul 2014 at 12:22