From 44dd49f06b330fe8f9a641fed92a15ef338b0f85 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 22 Jan 2014 15:51:59 +0000 Subject: [PATCH] support HTTPS URLs for auth_domain guessing, part of MKWS-102 --- tools/htdocs/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index f7f324b..4df6f70 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1084,7 +1084,7 @@ function mkws_service_proxy_auth(auth_url, auth_domain, pp2_url) { debug("Run service proxy auth URL: " + auth_url); if (!auth_domain) { - auth_domain = pp2_url.replace(/^http:\/\/(.*?)\/.*/, '$1'); + auth_domain = pp2_url.replace(/^https?:\/\/(.*?)\/.*/, '$1'); debug("guessed auth_domain '" + auth_domain + "' from pp2_url '" + pp2_url + "'"); } -- 1.7.10.4