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
commit546ba10bfd89912565c29b874323d5d3db0f1717 (patch)
tree9d7db4f22ab5aeb436958158bd5bc14285a7f05a
parentb531286f23283fb3315aa53778de3b618d33641d (diff)
parent5b0c75379e205e33a24efa674da250d5ac3f7c47 (diff)
downloadprosody-546ba10bfd89912565c29b874323d5d3db0f1717.tar.gz
prosody-546ba10bfd89912565c29b874323d5d3db0f1717.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