Skip to content

Malformed URI error for adTagUrl when evaluating video tags that include umlauts #4057

@linkurzweg

Description

@linkurzweg

I am using the mediaProxy to update the ad tag url on entry change (see #4043). For example the video tags with {mediaProxy.entry.tags}. This works fine as long as there are no umlauts (ä,ö,ü...) in the tags.

When the video has tags that include umlauts, this will cause the player to not play the video, it loads indefinitely. Also the ad server returns an URI malformed error in the console:
ima3.js?_=1565696493160:40 Uncaught URIError: URI malformed at decodeURIComponent (<anonymous>) at Jc (ima3.js?_=1565696493160:40) at ima3.js?_=1565696493160:393 at Object.Sc (ima3.js?_=1565696493160:387) at Bu (ima3.js?_=1565696493160:388) at Cu (ima3.js?_=1565696493160:390) at Eu.k.Ef (ima3.js?_=1565696493160:393) at mw.DoubleClick.requestAds (load.php?debug=false&lang=en&modules=...)

It looks like the player is not correctly encoding umlauts when evaluating the tags?
Also I think the video should not stop working, even if there is a problem with the ad tag url.

@OrenMe maybe you could take a look at this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions