aboutsummaryrefslogtreecommitdiffstats
path: root/etherpad/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/main.js')
-rw-r--r--etherpad/src/main.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/etherpad/src/main.js b/etherpad/src/main.js
index d925638..738df51 100644
--- a/etherpad/src/main.js
+++ b/etherpad/src/main.js
@@ -287,6 +287,14 @@ function checkHost() {
// Check for HTTPS
function checkHTTPS() {
+ /* Open-source note: this function used to check the protocol and make
+ * sure that pages that needed to be secure went over HTTPS, and pages
+ * that didn't go over HTTP. However, when we open-sourced the code,
+ * we disabled HTTPS because we didn't want to ship the etherpad.com
+ * private crypto keys. --aiba */
+ return;
+
+
if (stringutils.startsWith(request.path, "/static/")) { return; }
if (sessions.getSession().disableHttps || request.params.disableHttps) {