Ensure that the '@' character is escaped in strings. This isn't necessary
now, but in the future this might be useful so that indirect references are
never ambiguous. (If a "@" appears, it's an indirect reference; if a
literal "@" is needed, it is escaped.)
for (size_t i = 0; i < in.length(); i++) {
unsigned char c = in[i];
for (size_t i = 0; i < in.length(); i++) {
unsigned char c = in[i];
- if (c >= '+' && c < 0x7f) {
+ if (c >= '+' && c < 0x7f && c != '@') {
out += c;
} else {
char buf[4];
out += c;
} else {
char buf[4];