add back support for ftp urls

Add back support for ftp urls, which was disabled as part of the fix for
security hole CVE-2018-10857 (except for configurations which enabled curl
and bypassed public IP address restrictions). Now it will work if allowed
by annex.security.allowed-ip-addresses.
This commit is contained in:
Joey Hess 2019-05-30 14:51:34 -04:00
parent 1871295765
commit 67c06f5121
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 165 additions and 29 deletions

View file

@ -50,3 +50,5 @@ ALL.chr2.phase3_sha 100%[===================>] 1.22G 6.99MB/s in 3m 11s
Would you know why this is happening? And how I can avoid this failure mode in the more up-to-date version of git-annex?
> Added back support for ftp urls with no special configuration needed.
> [[done]] --[[Joey]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 6"""
date="2019-05-30T18:50:18Z"
content="""
I've gotten secure ftp url downloading working now. Have not yet put back
in the handling of http-to-ftp redirects.
"""]]