Commit dfec9c71 by bachinger

Merge pull request #9834 from TheJohnBowers:fix_9832

PiperOrigin-RevId: 419864140
parents cdbcf9f6 1852c79b
......@@ -142,7 +142,7 @@ public final class UrlTemplate {
// Allowed conversions are decimal integer (which is the only conversion allowed by the
// DASH specification) and hexadecimal integer (due to existing content that uses it).
// Else we assume that the conversion is missing, and that it should be decimal integer.
if (!formatTag.endsWith("d") && !formatTag.endsWith("x")) {
if (!formatTag.endsWith("d") && !formatTag.endsWith("x") && !formatTag.endsWith("X")) {
formatTag += "d";
}
identifier = identifier.substring(0, formatTagIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment