Commit a996a926 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

lua: rc: Accept backward compatible hosts

refs #19871
parent 0d947a4c
......@@ -254,6 +254,9 @@ function host()
h:listen_stdio()
else
u = vlc.strings.url_parse( url )
if url.host == nil then
u = vlc.strings.url_parse( "//" .. url )
end
h:listen_tcp( u.host, u.port, (u.protocol == "telnet") )
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment