allow ftp urls by default
They're no worse than http certianly. And, the backport of these security fixes has to deal with wget, which supports http https and ftp and has no way to turn off individual schemes, so this will make that easier.
This commit is contained in:
parent
c93b6c1e08
commit
3c0a538335
5 changed files with 5 additions and 5 deletions
|
@ -162,7 +162,7 @@ extractGitConfig r = GitConfig
|
|||
, annexRetryDelay = Seconds
|
||||
<$> getmayberead (annex "retrydelay")
|
||||
, annexAllowedUrlSchemes = S.fromList $ map mkScheme $
|
||||
maybe ["http", "https"] words $
|
||||
maybe ["http", "https", "ftp"] words $
|
||||
getmaybe (annex "security.allowed-url-schemes")
|
||||
, annexAllowedHttpAddresses = fromMaybe "" $
|
||||
getmaybe (annex "security.allowed-http-addresses")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue