Project

General

Profile

Bug #1764

Visiting http://tvhserver:9981// (two slashes!) leads to infinite HTTP redirection

Added by John Marshall over 11 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2013-06-30
Due date:
% Done:

100%

Estimated time:
Found in version:
3.4~wheezy
Affected Versions:

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...)

History

#1

Updated by Adam Sutton over 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|4f054fb41fe6413dcd6a886e1458f7409ef17706.

Also available in: Atom PDF