<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/http.c, branch v2.27.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v2.27.0</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v2.27.0'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2020-04-20T05:05:56Z</updated>
<entry>
<title>Sync with 2.26.2</title>
<updated>2020-04-20T05:05:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-04-20T05:05:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=048abe1751e6727bfbacf7b80466d78e04631f94'/>
<id>urn:sha1:048abe1751e6727bfbacf7b80466d78e04631f94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Git 2.26.2</title>
<updated>2020-04-19T23:32:24Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:32:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=af6b65d45ef179ed52087e80cb089f6b2349f4ec'/>
<id>urn:sha1:af6b65d45ef179ed52087e80cb089f6b2349f4ec</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.25.4</title>
<updated>2020-04-19T23:31:07Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:31:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7397ca33730626f682845f8691b39c305535611e'/>
<id>urn:sha1:7397ca33730626f682845f8691b39c305535611e</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.24.3</title>
<updated>2020-04-19T23:30:34Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:30:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b86a4be245d0ba077c97c6ab6b1cdbeb9dcc1342'/>
<id>urn:sha1:b86a4be245d0ba077c97c6ab6b1cdbeb9dcc1342</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.22.4</title>
<updated>2020-04-19T23:30:19Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:30:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c9808fa014aa88cc306705d308d1d9065d567ddc'/>
<id>urn:sha1:c9808fa014aa88cc306705d308d1d9065d567ddc</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.21.3</title>
<updated>2020-04-19T23:30:08Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:30:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b'/>
<id>urn:sha1:9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.20.4</title>
<updated>2020-04-19T23:28:57Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:28:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=041bc65923e13313ca1b77681c3b2950b5e0a163'/>
<id>urn:sha1:041bc65923e13313ca1b77681c3b2950b5e0a163</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.19.5</title>
<updated>2020-04-19T23:26:41Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:26:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=76b54ee9b9944ee70422ac24884f78769cf264f1'/>
<id>urn:sha1:76b54ee9b9944ee70422ac24884f78769cf264f1</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Git 2.18.4</title>
<updated>2020-04-19T23:24:14Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2020-04-19T23:24:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ba6f0905fdb9e65c1ac5fbc79c9a4ef0b59b3e68'/>
<id>urn:sha1:ba6f0905fdb9e65c1ac5fbc79c9a4ef0b59b3e68</id>
<content type='text'>
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>credential: parse URL without host as empty host, not unset</title>
<updated>2020-04-19T23:10:57Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-04-19T03:48:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=24036686c4af84c9e84e486ef3debab6e6d8e6b5'/>
<id>urn:sha1:24036686c4af84c9e84e486ef3debab6e6d8e6b5</id>
<content type='text'>
We may feed a URL like "cert:///path/to/cert.pem" into the credential
machinery to get the key for a client-side certificate. That
credential has no hostname field, which is about to be disallowed (to
avoid confusion with protocols where a helper _would_ expect a
hostname).

This means as of the next patch, credential helpers won't work for
unlocking certs. Let's fix that by doing two things:

  - when we parse a url with an empty host, set the host field to the
    empty string (asking only to match stored entries with an empty
    host) rather than NULL (asking to match _any_ host).

  - when we build a cert:// credential by hand, similarly assign an
    empty string

It's the latter that is more likely to impact real users in practice,
since it's what's used for http connections. But we don't have good
infrastructure to test it.

The url-parsing version will help anybody using git-credential in a
script, and is easy to test.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Reviewed-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
</feed>
