Addressable is a replacement for the URI implementation that is part of Ruby's standard library. It more closely conforms to the relevant RFCs and adds support for IRIs and URI templates.

Critical or Security advisories for 2.5.0

This version doesn't have any advisory. Want to report one?

Changelog for 2.5.0

  • dropping support for Ruby 1.9
  • adding support for Ruby 2.4 preview
  • add support for public suffixes and tld; first runtime dependency
  • hostname escaping should match RFC; underscores in hostnames no longer escaped
  • paths beginning with // and missing an authority are now considered invalid
  • validation now also takes place after setting a path
  • handle backslashes in authority more like a browser for heuristic_parse
  • unescaped backslashes in host now raise an InvalidURIError
  • merge!, join!, omit! and normalize! don't disable deferred validation
  • heuristic_parse now trims whitespace before parsing
  • host parts longer than 63 bytes will be ignored and not passed to libidn
  • normalized values always encoded as UTF-8

Dependencies for 2.5.0

Name Requirement Status
>= 2.0.2, ~> 2.0

My projects using addressable

Name Locked version Requirement
You should be logged in to see which of your projects use addressable.