Project

General

Profile

Actions

Bug #5317

closed

Persistent authentication with user restricted to channel tags results in empty playlist

Bug #5317: Persistent authentication with user restricted to channel tags results in empty playlist

Added by Dietmar Konermann over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2018-11-06
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-1524~gacf50bd
Affected Versions:

Description

- Create a user limited to channels with specific channel tag
- Configure a password with the new Persistent authentication

$ curl -L --digest "http://user:pass@server:9981/playlist"

-> works fine, playlist contains the tagged channels.

curl -L "http://server:9981/playlist?auth=xxxxxxx"
#EXTM3U

> playlist is empty
> even using both, user/pw AND auth= results in an empty playlist

If you use the reverse logic "Exclude channel tags", then all channels are included... so obviously the configured tags are just being ignored at all when auth= is used.

Thanks in advance
Dietmar.

Updated by saen acro over 7 years ago Actions #1

second url is wrong
try with

curl -L --digest "http://user:pass@server:9981/playlist/auth

Updated by Dietmar Konermann over 7 years ago Actions #2

OK, that works.

Nevertheless, the current behaviour is at least inconsistent IMHO... either we should get a 404 or the correct playlist... why an empty one?

It's also weird that the resulting playlist contains profile=xxx for a profile the user has no access to. OK, I can add the profile to my URLs, but it's also inconsistent. Leave it, or use a working one.

However, thanks. Guess I can deal with that. :)

Cheers
Dietmar.

Updated by saen acro over 7 years ago Actions #3

From my point of view problem is with poor or missing information in wiki,
where any one can take information.

Updated by Jaroslav Kysela over 7 years ago Actions #4

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

Applied in changeset commit:tvheadend|29d501042a38b1070756db2e08bda433b182078c.

Updated by Pablo R. over 7 years ago Actions #5

Jaroslav Kysela wrote:

Applied in changeset commit:tvheadend|29d501042a38b1070756db2e08bda433b182078c.

Is this commit applied correctly? From time to time I get subscriptions without username :'(

(It has never happened to me before)

Actions

Also available in: PDF Atom