X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=4df6f70003f7f8665f9fa7f2215076a554738206;hb=44dd49f06b330fe8f9a641fed92a15ef338b0f85;hp=f7f324b4fd1142d2d7cac2c3a7d2320522057789;hpb=f056009df4080c47cccc142b449ae94ac6d509bf;p=mkws-moved-to-github.git 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 + "'"); }