It should not be
&Outer - Realm-Name
even if "-" is a terminating character.
The correct answer is "don't have ambiguous grammars", but it's
very difficult to fix that now
* We don't want to misidentify the list
* as being part of an attribute.
*/
- if (!fr_sbuff_is_char(&our_in, '.') && !tmpl_substr_terminal_check(&our_in, p_rules)) {
+ if (!fr_sbuff_is_char(&our_in, '.') && (fr_sbuff_is_in_charset(&our_in, fr_dict_attr_allowed_chars) || !tmpl_substr_terminal_check(&our_in, p_rules))) {
goto default_ref;
}