-
Notifications
You must be signed in to change notification settings - Fork 10
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
Referencing yui.yahoo stuff is not nice with HTTPS #11
Comments
Yes please! |
+1 |
Instead of writing yahoo links with the protocol, you can do it like this:
Without the 'http:', your browser will choose between http and https depending of the protocol used for your pad. But the other problem is that since several months, the access to yahoo apis seem to be unstable And just now, for the version 2.9.0 used by this plugin, I can only access the http and not the https files (well done Yahoo!!!) I downloaded the yahoo api from github (https://github.com/yui/yui2/) and put it locally (the v2.8 coz 2.9 doesn't seem to exist there), change all the links in the files.
I tried also with a more recent version of the yahoo api (3.2) as v2.9 is 3 years old, but then lots of changes were done and files are missing (well under another name or merged inside another one or ..). With the error in Firefox, I searched for 'templatesMenu', found it in statis/js/dataTables.js (line 17) and removed it, but still the same error (??) I also tried the modified version of this plugin by xshadow (https://github.com/xshadow/ep_tables/tree/47307c4b4b6f2aadee5a53588d02c6c4f0ce85df) that says "Etherpad Lite Tables plugin with full https support" but no luck (he didn't change any yahoo link to remove the http part?!). I'm very sad, but I wasn't able to make it work. If anyone has another idea, I'm all ears :) |
Well, it appears that is was a good solution to bring the yahoo api locally. After being sure to have clear all caches, I didn't have any http <-> https problems. The error I told just after, I fixed it. See #12 |
My browser is complaining that some scripts were blocked, as they would be insecure to load, while accessing my pad via HTPPS.
(e.g http://yui.yahooapis.com/2.9.0/build/dragdrop/dragdrop-min.js)
And indeed yahoo seems not to offer access to their apis via https (WTF?!?). Maybe we should use a local copy of what we are loading remotely?
The text was updated successfully, but these errors were encountered: