]> dgit.raspbian.org Git - git-annex.git/blob
e4114dd155fd1ab12c2b99d4f2a1ebf673489683
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 3"""
4  date="2019-05-29T14:22:57Z"
5  content="""
6 The netrc(5) file does use the hostname of the ftp server, so if git-annex
7 swapped in an IP address it resolved it would not match the netrc file. But
8 curl only reads the file when --netrc is used.
9
10 If annex.web-options is set to --netrc (or anything), and
11 annex.security.allowed-http-addresses=all, git-annex uses curl already
12 and the security measures are disabled.
13
14 So, git-annex could replace the ftp server hostname with the IP address
15 when not so configured, and nothing that currently works would break, and
16 this problem would be solved without needing any new configuration.
17 """]]