Commit a43ee977 authored by Max Kellermann's avatar Max Kellermann

util/UriUtil: strip credentials from smb:// URIs

parent 43c32372
ver 0.21.25 (not yet released) ver 0.21.25 (not yet released)
* protocol: * protocol:
- fix crash when using "rangeid" while playing - fix crash when using "rangeid" while playing
* input
- smbclient: don't send credentials to MPD clients
ver 0.21.24 (2020/06/10) ver 0.21.24 (2020/06/10)
* protocol * protocol
......
...@@ -170,6 +170,7 @@ SkipUriScheme(const char *uri) noexcept ...@@ -170,6 +170,7 @@ SkipUriScheme(const char *uri) noexcept
static const char *const schemes[] = { static const char *const schemes[] = {
"http://", "https://", "http://", "https://",
"ftp://", "ftp://",
"smb://",
}; };
for (auto scheme : schemes) { for (auto scheme : schemes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment