Class: HomographicSpoofing::Detector::Rule::QuotedString::NonspacingMarks
- Inherits:
-
Base
- Object
- Base
- HomographicSpoofing::Detector::Rule::QuotedString::NonspacingMarks
- Defined in:
- lib/homographic_spoofing/detector/rule/quoted_string/nonspacing_marks.rb
Overview
See www.unicode.org/reports/tr39/#Email_Security_Profiles nonspacing marks.
Instance Method Summary collapse
Instance Method Details
#attack_detected? ⇒ Boolean
3 4 5 |
# File 'lib/homographic_spoofing/detector/rule/quoted_string/nonspacing_marks.rb', line 3 def attack_detected? nonspacing_marks_regexp.match?(label) end |