Displaying 2 results from an estimated 2 matches for "util_base64_decode".
2018 Sep 25
1
How to troubleshoot admin auth values in url format http://admin:password@icecast.org:1234
...9;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?
2. is there anyway to enable a more detailed...
2004 Aug 06
2
improved error.log output --diff
...ds compatibility mode for icecast 1.x relays. Assuming content is mp3., %s", client->con->ip);
source = source_create(client, con, parser, mount, format, mountinfo);
thread_mutex_unlock(&(config_locks()->mounts_lock));
}
@@ -488,8 +488,8 @@
userpass = util_base64_decode(header+6);
if(userpass == NULL) {
- WARN1("Base64 decode of Authorization header \"%s\" failed",
- header+6);
+ WARN1("Base64 decode of Authorization header \"%s\" failed, %s",
+ header+6, "-");...