Commit f7ff8aa5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Handle \r in strings



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2798 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b882e04d
......@@ -123,6 +123,9 @@ parse_string(char *buf, const struct cmds *cmd, void *priv)
if (*p == '\\' && p[1] == 'n') {
*q++ = '\n';
p++;
} else if (*p == '\\' && p[1] == 'r') {
*q++ = '\r';
p++;
} else if (*p == '\\' && p[1] == '\\') {
*q++ = '\\';
p++;
......
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 to comment