Encode mp xml embedded in result of old Ingest file upload (addElementMonitored/{jobId})

Description

The old Ingest endpoint "addElementMonitored/{jobId}" is still part of the r/3.x codebase.

The endpoint contains a bug of not encoding the embedded mediapackage XML in the result HTML. The issue only manifests itself when an embedded XML value text contains special characters, such as an ampersand ("&"). For example, a series or event title "Cats & Dogs 101".

The endpoint supports tracks and catalogs, but not attachments.

Fixed and reviewed

Assignee

Former user

Reporter

Former user