Skip to content

ipfs uri validation #195

Closed
Closed

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

Activity

  1. added
    duplicate
    enhancement
    outdated
    on Mar 14, 2023
  2. nandgator commented on Mar 14, 2023

    @nandgator
    Collaborator

    related #40 #55

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

    duplicateenhancementoutdated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions