Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
Maiky
2023-08-03 17:08:10 +02:00
committed by GitHub
parent 0237f37842
commit 6f1b406b3a

View File

@@ -23,7 +23,7 @@ class FooController < ActionController::Base
# (i.e a remote flow source)
pass = params[:pass]
# BAD: user input is not sanetized
# BAD: user input is not sanitized
ldap = Net::LDAP.new
ldap.host = your_server_ip_address
ldap.encryption(:method => :simple_tls)