]> git.ipfire.org Git - thirdparty/git.git/commit - url.c
url.c: "<scheme>://" part at the beginning should not be URL decoded
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Jun 2010 17:27:39 +0000 (10:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Jun 2010 17:42:07 +0000 (10:42 -0700)
commitce83eda15554ffd859ecc9f4c427303d460dab60
treed8a4f1b37cd4cbe413e0609326decd64d11f953d
parent9d2e942070b235e1f4a0b8dd4c55a6b3f0fe914a
url.c: "<scheme>://" part at the beginning should not be URL decoded

When using the protocol git+ssh:// for example we do not want to
decode the '+' as a space. The url decoding must take place only
for the server name and parameters.

This fixes a regression introduced in 9d2e942.

Initial-fix-by: Pascal Obry <pascal.obry@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
url.c