Skip to content
Permalink
Browse files

remove excess Println in client

with this line present the token gets printed unintentionally which
leads to an information disclosure

Signed-off-by: Tobias Brunner <tobias.brunner@vshn.ch>
  • Loading branch information...
tobru authored and alexellis committed Oct 1, 2019
1 parent c9784c0 commit a0222191cb97b113e97b6a83eeabda240cd17454
Showing with 0 additions and 1 deletion.
  1. +0 −1 pkg/client/client.go
@@ -37,7 +37,6 @@ func (c *Client) Connect() error {
headers.Add("Authorization", "Bearer "+c.Token)
}

fmt.Println(headers)
url := c.Remote
if !strings.HasPrefix(url, "ws") {
url = "ws://" + url

0 comments on commit a022219

Please sign in to comment.
You can’t perform that action at this time.