Changeset

8589:4e475ef4b569

mod_admin_telnet: Include the default path property in URL calculation (fixes #1099)
author Kim Alvefur <zash@zash.se>
date Sat, 10 Mar 2018 20:47:34 +0100
parents 8588:54b60a1eea2d
children 8590:4b5a00fffb22
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Thu Mar 08 17:36:36 2018 +0100
+++ b/plugins/mod_admin_telnet.lua	Sat Mar 10 20:47:34 2018 +0100
@@ -1092,7 +1092,7 @@
 			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("");