Opened 3 years ago

Last modified 8 weeks ago

#7395 open defect

DASH demuxing error "unterminated entity reference" due to ampersand in URL

Reported by: Starchild Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: dash regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Commit 7a63da8 broke the DASH demuxer if the manifest contains a BaseURL with an ampersand (&) or other characters that need to be escaped in XML.

This is because the method resolve_content_path calls xmlNodeGetContent, which unescapes the string, and then passes it back to xmlNodeSetContent, which apparently expects an escaped string.

Unfortunately I cannot provide an example MPD, but it should be easy enough to manufacture one by simply adding &v=3 or so to the BaseURL in a simple manifest.

Change History (2)

comment:1 by Carl Eugen Hoyos, 3 years ago

Keywords: regression added; dashdec removed

comment:2 by cyclone200, 8 weeks ago

Status: newopen

This error is still present in the latest build (11-2021).

Note: See TracTickets for help on using tickets.