Skip to content

Commit

Permalink
util/UriUtil: strip credentials from smb:// URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jun 22, 2020
1 parent 43c3237 commit a43ee97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/util/UriUtil.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ SkipUriScheme(const char *uri) noexcept
static const char *const schemes[] = {
"http://", "https://",
"ftp://",
"smb://",
};

for (auto scheme : schemes) {
Expand Down

0 comments on commit a43ee97

Please sign in to comment.