summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2019-12-06 11:04:40 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2019-12-13 12:31:55 -0800
commit05c1fb8a593c6aeb3869822ccc5cd551ba56d87f (patch)
tree2cfc08d71d3685f3ed6feb042df26a7c3b077270 /src/commit.c
parent2f6f10bb804becddfae78bb9682183ae8ae8184d (diff)
downloadlibgit2-05c1fb8a593c6aeb3869822ccc5cd551ba56d87f.tar.gz
http: avoid generating double slashes in url
Prior to this change, given a remote url with a trailing slash, such as http://localhost/a/, service requests would contain a double slash: http://localhost/a//info/refs?service=git-receive-pack. Detect and prevent that. Updates #5321
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions