ronin-rb / ronin-support

A support library for Ronin. Like activesupport, but for hacking!
https://ronin-rb.dev
GNU Lesser General Public License v3.0
27 stars 10 forks source link

Have `Network::PublicSuffix::List#split` handle host names with a trailing `.` #538

Closed postmodern closed 1 week ago

postmodern commented 2 weeks ago

Ensure that Network::PublicSuffix::List#split can handle splitting example.com..

postmodern commented 1 week ago

Appears that Ruby's String#split already handles this for us.

"sun.com.".split('.')
# => ["sun", "com"]