diff --git a/NEWS b/NEWS index e44865281..15a4fb77a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.21.23 (not yet released) +* storage + - curl: fix corrupt "href" values in the presence of XML entities * output - alsa: implement channel mapping for 5.0 and 7.0 * player diff --git a/src/storage/plugins/CurlStorage.cxx b/src/storage/plugins/CurlStorage.cxx index e2bc99bdf..9452f7e54 100644 --- a/src/storage/plugins/CurlStorage.cxx +++ b/src/storage/plugins/CurlStorage.cxx @@ -402,7 +402,7 @@ private: break; case State::HREF: - response.href.assign(s, len); + response.href.append(s, len); break; case State::STATUS: