Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Type URI returns an Addressable::URI on an empty string #39

Description

@probablykabari

The bug here is that with an empty string, URI type always returns an instance of Addressable::URI. So when doing a validation checking for #blank? it returns false. This is a problem when the property is being set from form params.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions