filter out illegal remote names when reading proxy log

This commit is contained in:
Joey Hess 2024-06-06 12:51:30 -04:00
parent d208b03e5d
commit a72d0f69d0
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 10 additions and 7 deletions

View file

@ -37,12 +37,6 @@ For June's work on [[design/passthrough_proxy]], implementation plan:
1. getProxies should be cached to avoid repeatedly reading the log and
parsing.
1. Remote names coming from the git-annex branch need to be
limited to what's legal in git remote names. If a remote name is not
legal, munge it until it is.
This will also prevent remote names being a security hazard
via eg escape characters.
2. Remote instantiation for proxies. When a remote "foo" is a proxy,
and has a remote "bar", instantiate a remote "foo-bar" that has the UUID
of bar but is of the same type and configuration of remote "foo".