diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-25 03:33:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-25 03:33:13 +0200 |
commit | dedba5658ee72c68a5c94b6d7093fe4d77ebbcdc (patch) | |
tree | 9d7db4f22ab5aeb436958158bd5bc14285a7f05a /core | |
parent | be2d5e7266de46093a08f7ff736749a77607425f (diff) | |
parent | 400d3337aa56b347069cb967a6e8547dc54a8a06 (diff) | |
download | prosody-dedba5658ee72c68a5c94b6d7093fe4d77ebbcdc.tar.gz prosody-dedba5658ee72c68a5c94b6d7093fe4d77ebbcdc.zip |
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r-- | core/certmanager.lua | 2 |
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 |