Skip to content

Commit

Permalink
Fix #615
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed Apr 7, 2021
1 parent ff0bcc2 commit fe5826e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cairis/core/dba.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
__author__ = 'Shamal Faily'

def canonicalDbUser(dbUser):
return dbUser.replace('@','_at_').replace('.','_dot_')[:32]
return dbUser.replace('@','_at_').replace('.','_dot_').replace('-','_dash_')[:32]

def canonicalDbName(dbUser):
return dbUser.replace('@','_at_').replace('.','_dot_')[:64]
return dbUser.replace('@','_at_').replace('.','_dot_').replace('-','_dash_')[:64]

def dbtoken(rPasswd,dbHost,dbPort,dbUser):
try:
Expand Down

0 comments on commit fe5826e

Please sign in to comment.