Displaying 1 result from an estimated 1 matches for "_check_pass_http".
2018 Sep 25
1
How to troubleshoot admin auth values in url format http://admin:password@icecast.org:1234
......
etc
Other times, I can't, and I can't figure out why not.
1. Does admin:password in this scenario (a web browser request) need to be
encoded to Base64, or can it be the "normal / plaintext" i.e. "admin" ?
Reading the code on Github, in src/connection.c
static int _check_pass_http
it appears it calls a method util_base64_decode, so it appears it is trying
to decode it.
but sometimes this works from a web browser request when username:password
is typed in plaintext (not base64encoded)
does the browser automatically encode it behind the scenes before the
network tranmission...