summaryrefslogtreecommitdiff
path: root/t/t9142-git-svn-shallow-clone.sh
diff options
context:
space:
mode:
authorLibravatar Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>2017-12-19 00:41:13 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-18 13:57:06 -0800
commit77eac3f89a7b49424e7bb3498d20421878705485 (patch)
tree223db543299064182a1e8c9045b62462f75477d4 /t/t9142-git-svn-shallow-clone.sh
parentRelNotes: minor typo fixes in 2.16.0 draft (diff)
downloadtgif-77eac3f89a7b49424e7bb3498d20421878705485.tar.xz
imap-send: URI encode server folder
When trying to send a patch using 'imap-send' with 'curl' and the following configuration: [imap] folder = "[Gmail]/Drafts" host = imaps://imap.gmail.com port = 993 sslverify = false results in the following error, curl_easy_perform() failed: URL using bad/illegal format or missing URL This is a consequence of not URI-encoding the folder portion of the URL which contains characters such as '[' which are not allowed in a URI. According to RFC3986, these characters should be URI-encoded. So, URI-encode the folder before adding it to the URI to ensure it doesn't contain characters that aren't allowed in a URI. Reported-by: Doron Behar <doron.behar@gmail.com> Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com> Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9142-git-svn-shallow-clone.sh')
0 files changed, 0 insertions, 0 deletions