Bug #5317
Persistent authentication with user restricted to channel tags results in empty playlist
100%
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.
History
Updated by saen acro about 6 years ago
second url is wrong
try with
curl -L --digest "http://user:pass@server:9981/playlist/auth
Updated by Dietmar Konermann about 6 years ago
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 about 6 years ago
From my point of view problem is with poor or missing information in wiki,
where any one can take information.
Updated by Jaroslav Kysela about 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|29d501042a38b1070756db2e08bda433b182078c.
Updated by Pablo R. about 6 years ago
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)