util/UriUtil: strip credentials from smb:// URIs
Closes https://github.com/MusicPlayerDaemon/MPD/issues/910
This commit is contained in:
2
NEWS
2
NEWS
@@ -1,6 +1,8 @@
|
||||
ver 0.21.25 (not yet released)
|
||||
* protocol:
|
||||
- fix crash when using "rangeid" while playing
|
||||
* input
|
||||
- smbclient: don't send credentials to MPD clients
|
||||
|
||||
ver 0.21.24 (2020/06/10)
|
||||
* protocol
|
||||
|
@@ -170,6 +170,7 @@ SkipUriScheme(const char *uri) noexcept
|
||||
static const char *const schemes[] = {
|
||||
"http://", "https://",
|
||||
"ftp://",
|
||||
"smb://",
|
||||
};
|
||||
|
||||
for (auto scheme : schemes) {
|
||||
|
Reference in New Issue
Block a user