Skip to content

Commit

Permalink
accept chars >127 unescaped in TXT, closes #541, closes #723
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter van Dijk committed May 17, 2013
1 parent fc209cf commit 830281f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dnslabeltext.rl
Expand Up @@ -62,7 +62,7 @@ vector<string> segmentDNSText(const string& input )
}

escaped = '\\' (([^0-9]@reportEscaped) | ([0-9]{3}$reportEscapedNumber%doneEscapedNumber));
plain = ((print-'\\'-'"')|'\n'|'\t') $ reportPlain;
plain = ((extend-'\\'-'"')|'\n'|'\t') $ reportPlain;
txtElement = escaped | plain;

main := (('"' txtElement* '"' space?) >segmentBegin %segmentEnd)+;
Expand Down

0 comments on commit 830281f

Please sign in to comment.