use addressable gem for uri parse