You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
Presence of special characters (i.e. &) in proxy environment values causes generation of an invalid /etc/profile.d/proxy.sh file. This is a problem due to the common inclusion of special characters in passwords and proxy strings of the format htt[p|s]://user:pass@url:port.
Not sure what the appropriate fix would be - wrapping the proxy strings in double quotes works in my case (with the & issue), but that would be problematic if the special character in question was a double quote.
os/cmd/control/console_init.go
Line 185 in 4546fac
Presence of special characters (i.e.
&
) in proxy environment values causes generation of an invalid /etc/profile.d/proxy.sh file. This is a problem due to the common inclusion of special characters in passwords and proxy strings of the formathtt[p|s]://user:pass@url:port
.Not sure what the appropriate fix would be - wrapping the proxy strings in double quotes works in my case (with the
&
issue), but that would be problematic if the special character in question was a double quote.Possibly changing the line from:
To:
With the
%q
providing string escaping would work, but I don't have the experience with Go to be confidant with that solution.The text was updated successfully, but these errors were encountered: