Skip to content

ipfs uri validation #195

Closed
Closed
@SlimBeji

Description

@SlimBeji

Hello,

Thanks for this awesome library.

I just want to report a tiny issue regarding uri validation:

import validators
uri = "ipfs://someRandomProprietaryAACFile"
validators.url(uri)

The above code returns a ValidationFailure despite the fact that the uri is a valid ipfs uri.
Probably validation does not take into account the ipfs protocol.

Is it possible to add it to validators.url?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssue/PR: RedundantenhancementIssue/PR: A new featureoutdatedIssue/PR: Open for more than 3 months

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions