Visitar URL original
ipfs uri validation · Issue #195 · python-validators/validators · GitHub
Skip to content

ipfs uri validation #195

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
    duplicateIssue/PR: Redundant
    enhancementIssue/PR: A new feature
    outdatedIssue/PR: Open for more than 3 months
    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

    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