aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-25 03:33:13 +0200
committerKim Alvefur <zash@zash.se>2018-05-25 03:33:13 +0200
commitdedba5658ee72c68a5c94b6d7093fe4d77ebbcdc (patch)
tree9d7db4f22ab5aeb436958158bd5bc14285a7f05a
parentbe2d5e7266de46093a08f7ff736749a77607425f (diff)
parent400d3337aa56b347069cb967a6e8547dc54a8a06 (diff)
downloadprosody-dedba5658ee72c68a5c94b6d7093fe4d77ebbcdc.tar.gz
prosody-dedba5658ee72c68a5c94b6d7093fe4d77ebbcdc.zip
Merge 0.10->trunk
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 3c1bd454..5282a6f5 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -158,7 +158,7 @@ end
local function create_context(host, mode, ...)
local cfg = new_config();
cfg:apply(core_defaults);
- local service_name, port = host:match("^(%w+) port (%d+)$");
+ local service_name, port = host:match("^(%S+) port (%d+)$");
if service_name then
cfg:apply(find_service_cert(service_name, tonumber(port)));
else