Skip to content

Blows up when URL doesn't contain HTTP:// (Sinatra) #13

Description

@andrewcrook

Blows up when URL doesn't contain HTTP:// would be nice to make the HTTP:// optional

Code was tested under Sinatra

Error:-

  • undefined method `split' for nil:NilClass
    • file: domain_parser.rb
    • location: parse_domains_from_host
    • line: 49

concatenating "http://" is a workaround but it would be nice to have this within the gem itself..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions