fnando/sinatra-subdomain — pull request #10 by morphizer (2013-08-25 11:29:41+00:00)
Title: Switches to using addressable/uri so it can handle underscores in subdomains

Using addressable - https://github.com/sporkmonger/addressable it handles underscores better than standard uri. Currently with an underscore in the subdomain it returns "URI::InvalidURIError: the scheme http does not accept registry part: sub_domain.domain.com (or bad hostname?)"