* [BUG] remote curl fetches HTML documents
@ 2010-03-30 20:06 Ramkumar Ramachandra
0 siblings, 0 replies; only message in thread
From: Ramkumar Ramachandra @ 2010-03-30 20:06 UTC (permalink / raw)
To: Git Mailing List
Hi,
I found a bug in the curl family of remote helpers. I've posted a
bugfix by assuming as little about the URL that libcurl accepts as
possible.
$ git remote-http foo
list
0000000000000000000000000000000000000000 html>
0000000000000000000000000000000000000000 <head>
0000000000000000000000000000000000000000 <title>OpenDNS</title>
0000000000000000000000000000000000000000 </head>
0000000000000000000000000000000000000000 </head>
0000000000000000000000000000000000000000 <body id="mainbody"
onLoad="testforbanner();" style="margin: 0px;">
<SNIP>
$ git remote-http foo
fetch 0000000000000000000000000000000000000000 html>
error: inflate: data stream error (incorrect header check)
error: File 0000000000000000000000000000000000000000
(foo/objects/00/00000000000000000000000000000000000000) corrupt
error: Unable to find 0000000000000000000000000000000000000000 under foo
Cannot obtain needed object 0000000000000000000000000000000000000000
error: Fetch failed.
-- Ram
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-30 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 20:06 [BUG] remote curl fetches HTML documents Ramkumar Ramachandra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).