Skip to content

Commit

Permalink
Fix escape code for \r
Browse files Browse the repository at this point in the history
'\r' == 13 == 0x0D
  • Loading branch information
costing committed Jan 14, 2020
1 parent 12b479b commit 575cf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdHttp/XrdHttpUtils.cc
Expand Up @@ -380,7 +380,7 @@ char *quote(const char *str) {
j += 3;
break;
case '\r':
strcpy(r + j, "%0C");
strcpy(r + j, "%0D");
j += 3;
break;
default:
Expand Down

0 comments on commit 575cf1b

Please sign in to comment.