Allow hex format tags when parsing url templates

parent f3bd9339
......@@ -139,7 +139,7 @@ public final class UrlTemplate {
String formatTag = DEFAULT_FORMAT_TAG;
if (formatTagIndex != -1) {
formatTag = identifier.substring(formatTagIndex);
if (!formatTag.endsWith("d")) {
if (!formatTag.endsWith("d") && !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