storage/curl: fix path comparison when the server escapes differently

Unescape the base path and the path coming from the server (href) to fix the
comparison when the server uses different escaped characters.

The outputted name need to be unescaped. Doing that before or after the
HrefToEscapedName() call should not change the current behavior.
This commit is contained in:
Thomas Guillem
2020-04-14 22:07:51 +02:00
committed by Max Kellermann
parent 3d8067a041
commit b18074f899
2 changed files with 7 additions and 6 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.21.23 (not yet released)
* storage
- curl: fix corrupt "href" values in the presence of XML entities
- curl: unescape "href" values
* output
- alsa: implement channel mapping for 5.0 and 7.0
* player