From b2661df17ef0765d07fbb9233f1f37fec96e1dfe Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 8 Apr 2010 17:10:52 -0400 Subject: Can't really use SSL when checking for it always returns false, right? --- etherpad/src/main.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'etherpad/src/main.js') diff --git a/etherpad/src/main.js b/etherpad/src/main.js index b77d5ee..6d99e16 100644 --- a/etherpad/src/main.js +++ b/etherpad/src/main.js @@ -287,14 +287,6 @@ 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) { -- cgit v1.2.3-1-g7c22