Skip to content

Commit 9ffb3b1

Browse files
committed
Applying patch by Jeroen Habraken; fixes #1
1 parent 963a7ef commit 9ffb3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/impl/message.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ namespace boost { namespace network { namespace http {
7979
case '>': case '#': case '%': case '{': case '}': case '|':
8080
case '\\': case '^': case '~': case '[': case ']': case '`':
8181
// the character needs to be encoded
82-
sprintf(encode_buf+1, "%2X", str[pos]);
82+
sprintf(encode_buf+1, "%02X", str[pos]);
8383
result += encode_buf;
8484
break;
8585
}

0 commit comments

Comments
 (0)