Comment 3 for bug 451512

Revision history for this message
MichaƂ Sawicz (saviq) wrote : Re: MediaUri corrupts my URI

AFAIK ASF is xml, that's why you're getting escaped ampersands. Just parse the file with dom.minidom and you should get a correct URI with & instead of &.

BTW, can you please paste such an ASF playlist?

Now I can see what's going on - MediaUri splits the params at '&' and what it gets is a list containing:
- e=1255542944
- amp;h=a87a5ba3a44fdb5a2f43fff8dc7685be

And that's what it then joins in the resulting uri.

Unescaping the ampersand (e.g. using dom) will solve your issues.