We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963a7ef commit 9ffb3b1Copy full SHA for 9ffb3b1
boost/network/protocol/http/impl/message.ipp
@@ -79,7 +79,7 @@ namespace boost { namespace network { namespace http {
79
case '>': case '#': case '%': case '{': case '}': case '|':
80
case '\\': case '^': case '~': case '[': case ']': case '`':
81
// the character needs to be encoded
82
- sprintf(encode_buf+1, "%2X", str[pos]);
+ sprintf(encode_buf+1, "%02X", str[pos]);
83
result += encode_buf;
84
break;
85
}
0 commit comments