From f39f72d8cf03b61407f64460eba3357ec532280e Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Sun, 14 Nov 2010 02:51:15 +0100 Subject: Fix username and password extraction from HTTP URLs Change the authentification initialisation to percent-decode username and password for HTTP URLs. Signed-off-by: Gabriel Corona Acked-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- t/t5550-http-fetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t5550-http-fetch.sh') diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh index a0564deaa..8c2ac353b 100755 --- a/t/t5550-http-fetch.sh +++ b/t/t5550-http-fetch.sh @@ -34,7 +34,7 @@ test_expect_success 'clone http repository' ' test_cmp file clone/file ' -test_expect_failure 'clone http repository with authentication' ' +test_expect_success 'clone http repository with authentication' ' mkdir "$HTTPD_DOCUMENT_ROOT_PATH/auth/" && cp -Rf "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" "$HTTPD_DOCUMENT_ROOT_PATH/auth/repo.git" && git clone $AUTH_HTTPD_URL/auth/repo.git clone-auth && -- cgit v1.2.1