git-lfs/config
brian m. carlson ea0d264b38
urlconfig: anchor regexp for key matching
Currently, we don't anchor the regexp for matching keys.  That means
that if we have a value of http.URL.sslCert and
http.URL.sslCertPasswordProtected, the latter can be read when when
looking up the former.  To avoid that, let's anchor the regexp properly
against the key at the beginning and end.  In addition, let's escape the
dots to prevent matching the wrong string.
2021-08-30 13:16:27 +00:00
..
config_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
config.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
delayed_environment.go Fix Typos 2019-07-24 07:17:40 +00:00
environment_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
environment.go add some godocs 2017-10-27 14:10:46 -06:00
extension_test.go lfs: use github.com/stretchr/testify for assertions 2016-05-25 10:43:10 -06:00
extension.go Major refactor to pull things into config, httputil, tools 2016-05-13 17:38:06 +01:00
fetcher.go Fix Typos 2019-07-24 07:17:40 +00:00
git_fetcher_test.go Properly handle config options for URLs with upper case letters 2019-04-02 16:06:14 +00:00
git_fetcher.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
map_fetcher.go config,lfsapi: return last element of gitconfig, not first 2017-04-14 13:33:13 -04:00
netrc_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
netrc_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
netrc.go *: use patched version of bgetnry/go-netrc 2018-05-25 12:42:02 -07:00
os_fetcher.go Fix Typos 2019-07-24 07:17:40 +00:00
url_config_test.go urlconfig: anchor regexp for key matching 2021-08-30 13:16:27 +00:00
url_config.go urlconfig: anchor regexp for key matching 2021-08-30 13:16:27 +00:00
util_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
version.go release: v2.13.0 2020-12-07 21:29:05 +00:00