Skip to content

Commit

Permalink
removing some special characters which are seeing downstream issues (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bjeevan-ib authored Aug 25, 2023
1 parent df944f6 commit 5f58054
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions controllers/databaseclaim_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,10 @@ func (r *DatabaseClaimReconciler) generatePassword() (string, error) {
complEnabled := r.isPasswordComplexity()

// Customize the list of symbols.
// Removed \ from the default list as the encoding/decoding was treating it as an escape character
// Removed \ ` @ ! from the default list as the encoding/decoding was treating it as an escape character
// In some cases downstream application was not able to handle it
gen, err := gopassword.NewGenerator(&gopassword.GeneratorInput{
Symbols: "~!@#$%^&*()_+`-={}|[]:<>?,./",
Symbols: "~#%^&*()_+-={}|[]:<>?,.",
})
if err != nil {
return "", err
Expand Down

0 comments on commit 5f58054

Please sign in to comment.