Bug #4800
openapi error with username-password
0%
Description
When attempting to access the api, I'm getting a login error when including a filter.
For example this url returns the complete channels list:
http://test:pass@192.168.29.171:9981/api/channel/grid?all=1&limit=999999999&sort=name
but this one fails with an unauthorized error:
Am I missing something in the way the api works or is this a bug?
Updated by Jaroslav Kysela over 7 years ago
The second url does not contain the user/password.
Updated by edit4ever ! over 7 years ago
sorry - typo on my copy/paste
is failing. It triggers a sign in window - which when using the api from python causes a fail.
Updated by Jaroslav Kysela over 7 years ago
https://tools.ietf.org/html/rfc3986#section-2.2
':' is a reserved character - it must be escaped..
Do you use uriparser library for tvh? (configure)? If not - the simple regex parser is probably confused by many ':'.
It's better to use HTTP POST for those data.