ea0d264b38
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. |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
delayed_environment.go | ||
environment_test.go | ||
environment.go | ||
extension_test.go | ||
extension.go | ||
fetcher.go | ||
git_fetcher_test.go | ||
git_fetcher.go | ||
map_fetcher.go | ||
netrc_nix.go | ||
netrc_windows.go | ||
netrc.go | ||
os_fetcher.go | ||
url_config_test.go | ||
url_config.go | ||
util_nix.go | ||
util_windows.go | ||
version.go |