summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/smtp.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 8e10dc24b3..460ad08233 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -831,9 +831,6 @@ module Net
end
def mailfrom(from_addr)
- if $SAFE > 0
- raise SecurityError, 'tainted from_addr' if from_addr.tainted?
- end
getok("MAIL FROM:<#{from_addr}>")
end
@@ -859,9 +856,6 @@ module Net
end
def rcptto(to_addr)
- if $SAFE > 0
- raise SecurityError, 'tainted to_addr' if to_addr.tainted?
- end
getok("RCPT TO:<#{to_addr}>")
end