From: Darren S. <li...@yo...> - 2008-06-20 13:58:42
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1213970312 -3600 # Node ID 58e7f77e87326ce0985f9c7713aa2379b6377200 # Parent f8d12af3ff21ea3e31d4ee3565f369534a730cfb Authentication bug fix (would cause multiple "user:pass@"). diff -r 58e7f77e87326ce0985f9c7713aa2379b6377200 -r f8d12af3ff21ea3e31d4ee3565f369534a730cfb src/playlist.c --- a/src/playlist.c Fri Jun 20 14:58:32 2008 +0100 +++ b/src/playlist.c Wed Jun 18 20:22:12 2008 +0100 @@ -1691,7 +1691,7 @@ static int display_auth (int args, const host += 3; const char *at = strchr (host, '@'); - const char *slash = strchr (host, ':'); + const char *slash = strchr (host, '/'); if (at && slash && at > slash) at = NULL; if (at) |