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 1748f92 commit ba2885dCopy full SHA for ba2885d
src/net.c
@@ -94,7 +94,7 @@ int git_net_url_parse(git_net_url *url, const char *given)
94
if (has_path) {
95
const char *url_path = given + u.field_data[UF_PATH].off;
96
size_t url_path_len = u.field_data[UF_PATH].len;
97
- git_buf_decode_percent(&path, url_path, url_path_len);
+ git_buf_put(&path, url_path, url_path_len);
98
} else {
99
git_buf_puts(&path, "/");
100
}
0 commit comments