Skip to content

Exception on "http://" and "https://" parse #12

@joao-esteves

Description

@joao-esteves

If 'http://' or 'https://' are passed to parse, the following exception occurs:
undefined method `downcase!' for nil:NilClass

This happens here:

domain is nil because the following aggregation of original lines of codes is nil: URI.parse('http://'.to_s).host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions