diff options
author | Kirill A. Korinskiy <catap@catap.ru> | 2008-12-23 11:31:15 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-24 22:57:12 -0800 |
commit | e1f33efe07b9a520505fccd71bea1292fc9448dd (patch) | |
tree | ece1e42ae46334737bc6d54af5a3b26588115a4c /cache-tree.c | |
parent | GIT 1.6.1 (diff) | |
download | tgif-e1f33efe07b9a520505fccd71bea1292fc9448dd.tar.xz |
http-push: support full URI in handle_remote_ls_ctx()
The program calls remote_ls() to get list of files from the server over
HTTP; handle_remote_ls_ctx() is used to parse its response to populate
"struct remote_ls_ctx" that is returned from remote_ls().
The handle_remote_ls_ctx() function assumed that the server returns a
local path in href field, but RFC 4918 (14.7) demand of support full URI
(e.g. "http://localhost:8080/repo.git").
This resulted in push failure (e.g. git-http-push issues a PROPFIND
request to "/repo.git/alhost:8080/repo.git/refs/" to the server).
Signed-off-by: Kirill A. Korinskiy <catap@catap.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions