Skip to content

Commit

Permalink
use URL safe encoding to avoid slash char
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Dec 20, 2023
1 parent de899e0 commit dc6b31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ziti/edge/network/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,5 +775,5 @@ func (self *newConnHandler) dialSucceeded() error {
func newMarker() string {
b := make([]byte, 6)
_, _ = rand.Read(b)
return base64.StdEncoding.EncodeToString(b)
return base64.URLEncoding.EncodeToString(b)
}

0 comments on commit dc6b31e

Please sign in to comment.