Closed cosmin closed 1 month ago
Was it intentional to use URL encode instead of XML encode?
Actually for XML/HTML, only the following 5 characters need to be escaped
> < & ' "
URL encoding does much more than this. Characters like forward slashes are also encoded.
Currently
media_info.media_file_url()
is not escaped when placed into MPD for things like BaseURL. This for example breaks when trying to us a file name that contains special characters like &. Since these are supposed to be URLs let's URL encode them.Fixes #1107