Skip to content

Commit

Permalink
Fixes ether#301
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed Nov 12, 2011
1 parent 4360f3b commit 7377591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etherpad/src/etherpad/utils.js
Expand Up @@ -475,7 +475,7 @@ function isStaticRequest() {

function httpsHost(h) {
h = h.split(":")[0]; // strip any existing port
if (appjet.config.listenSecurePort != "443" && !appjet.config.hidePorts) {
if (appjet.config.listenSecurePort != "443" && appjet.config.listenSecurePort != "0" && !appjet.config.hidePorts) {
h = (h + ":" + appjet.config.listenSecurePort);
}
return h;
Expand Down

0 comments on commit 7377591

Please sign in to comment.