Masking env passwords in start does not work when password includes encoded characters #17614
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
The pull request #17116 included changes to mask proxy passwords. However, the regex used in
pkg/minikube/node/start.go
(https://github.com/kubernetes/minikube/blob/master/pkg/minikube/node/start.go#L748) uses\w+
. This will not match passwords with special characters (like @ = %40) that have been URL encoded, for example:http://user:fake%21password@someproxy.com:80
Example (proxy credentials faked):
The text was updated successfully, but these errors were encountered: