Skip to content

Commit

Permalink
allow case insensitive property tags for CAA records
Browse files Browse the repository at this point in the history
  • Loading branch information
ruby-dev committed Nov 23, 2024
1 parent 044fc00 commit baf9745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dnsruby/resource/CAA.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def flag
end

def from_string(input) #:nodoc: all
matches = (/(\d+) (issuewild|issuemail|issue|iodef|contactemail|contactphone) "(.+)"$/).match(input)
matches = (/(\d+) (issuewild|issuemail|issue|iodef|contactemail|contactphone) "(.+)"$/i).match(input)
if matches.nil?
raise DecodeError.new("Cannot parse record: #{input[0...1000]}")
end
Expand Down

0 comments on commit baf9745

Please sign in to comment.