We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d40e50 commit f588465Copy full SHA for f588465
libraries/sql/role.rb
@@ -63,7 +63,7 @@ def pg_role_encrypted_password(name)
63
end
64
65
def escape_password_for_sql(password)
66
- return password if password.nil? || password.empty?
+ return password if nil_or_empty?(password)
67
68
# SCRAM-SHA-256 passwords contain $ characters that can be interpreted
69
# by shell or string processing. Escape them to prevent mangling.
0 commit comments