Commit 3d8067a0 authored by Thomas Guillem's avatar Thomas Guillem Committed by Max Kellermann

storage/curl: fix href when file has a '&' char

If the file name is "Hello & bye", 3 CharacterData events will be sent with the State::HREF state: - "Hello%20" - "&" - "%20bye" Reproduced with files hosted on an apache2 DAV server: 2.4.38-3+deb10u3.
parent f6fe001f
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
......
......@@ -402,7 +402,7 @@ private:
break;
case State::HREF:
response.href.assign(s, len);
response.href.append(s, len);
break;
case State::STATUS:
......
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