Project

General

Profile

Actions

Bug #1565

closed

/imagecache requires authentication but pvr.hts client doesn't send auth

Added by Andy Brown over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2013-01-22
Due date:
% Done:

0%

Estimated time:
Found in version:
3.3.398~g39a2272
Affected Versions:

Description

Unsure if this is really aimed at pvr.hts rather than TVH.
This was changed during commit ef43010617d584c7222324501ad0202d2d068255 which changed:
http_path_add("/imagecache", NULL, page_imagecache, ACCESS_ANONYMOUS);
to
http_path_add("/imagecache", NULL, page_imagecache, ACCESS_WEB_INTERFACE);

https://github.com/tvheadend/tvheadend/commit/ef43010617d584c7222324501ad0202d2d068255

The problem being that the pvr.hts (currently using opdenkamp's git version) doesn't pass authentication over the GetWebURL request (Line 868 on HTSPData.cpp) so TVH always returns with a 401 denied.

I'd guess correct solution will be to modify the pvr.hts to send authentication rather than swap TVH back to permit anonymous on imagecache?

Just after a pointer here as to correct operation.

Actions

Also available in: Atom PDF