summaryrefslogtreecommitdiff
path: root/t/t5550-http-fetch.sh
diff options
context:
space:
mode:
authorGabriel Corona <gabriel.corona@enst-bretagne.fr>2010-11-14 01:51:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-17 21:07:43 (GMT)
commitf39f72d8cf03b61407f64460eba3357ec532280e (patch)
tree5b529f01b42a0ba2755dc37c09eec1d2ab187375 /t/t5550-http-fetch.sh
parent3cf8fe1d26edd7c4cce6593d70212970f8b0bbc0 (diff)
downloadgit-f39f72d8cf03b61407f64460eba3357ec532280e.zip
git-f39f72d8cf03b61407f64460eba3357ec532280e.tar.gz
git-f39f72d8cf03b61407f64460eba3357ec532280e.tar.bz2
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 <gabriel.corona@enst-bretagne.fr> Acked-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5550-http-fetch.sh')
-rwxr-xr-xt/t5550-http-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh
index a0564de..8c2ac35 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 &&