forked from shaba/openuds
Fixed NX legacy password generator. The $ must not be scaped to "\$" :)
This commit is contained in:
parent
13f97248f6
commit
f54d87a295
@ -114,4 +114,4 @@ class NXPassword(object):
|
||||
|
||||
pw += chr(ord(NXPassword._getRandomValidCharFromList()) + 2)
|
||||
|
||||
return pw.replace('&', '&').replace('<', '<').replace('"', '"').replace('\'', ''').replace('$', '\\$')
|
||||
return pw.replace('&', '&').replace('<', '<').replace('"', '"').replace('\'', ''') # .replace('$', '\\$')
|
||||
|
Loading…
Reference in New Issue
Block a user