aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-10 20:47:34 +0100
committerKim Alvefur <zash@zash.se>2018-03-10 20:47:34 +0100
commit1a2ad62a2141614b6e1f446301ca456e74c7c472 (patch)
treec793857e603c715877e675d21bddfaa57a6e0010 /plugins/mod_admin_telnet.lua
parent19ceef8658d09afbe2fa47a34eb0c55cebf3d959 (diff)
downloadprosody-1a2ad62a2141614b6e1f446301ca456e74c7c472.tar.gz
prosody-1a2ad62a2141614b6e1f446301ca456e74c7c472.zip
mod_admin_telnet: Include the default path property in URL calculation (fixes #1099)
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 86403606..163f67fa 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -1092,7 +1092,7 @@ function def_env.http:list()
local http_host = module:context(host):get_option("http_host");
print("HTTP endpoints on "..host..(http_host and (" (using "..http_host.."):") or ":"));
for _, provider in ipairs(http_apps) do
- local url = module:context(host):http_url(provider.name);
+ local url = module:context(host):http_url(provider.name, provider.default_path);
print("", url);
end
print("");