Bug #1764
closedVisiting http://tvhserver:9981// (two slashes!) leads to infinite HTTP redirection
100%
Description
While trying to view the webui in a browser, mistyping the URL as http://tvhserver:9981// with extra slashes after the host&port produces a redirect to
http://tvhserver:9981//extjs.html
which produces a redirect to
http://tvhserver:9981//extjs.html
and so on forever.
The workaround is not to make this typo of course, but it would be nice if http://tvhserver:9981//extjs.html was recognised as referring to extjs.html rather than to the root directory.
(Actually I encountered this not by mistyping it, but by using a zeroconf browser: Flame.app for iOS. This incorrectly always puts an explicit slash into the URL even though Tvheadend correctly advertises path=/ in its zeroconf entry, leading to an extra slash when the desired zeroconf destination advertises a path, as here. I'll be filing a bug or patch for that too...)