Opened 11 months ago

Last modified 11 months ago

#7395 new 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

Description

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 (1)

comment:1 Changed 11 months ago by cehoyos

  • Keywords regression added; dashdec removed
Note: See TracTickets for help on using tickets.