Skip to content

Expecting this URL to be successfully parsed #274

Closed

Description

@zsoltforray

Hi,

I have found that the URL validation of http://verveacu--fiserv.sandbox.lightning.force.com/auraCmpDef returns False. I understand that the URL format is validated so I have tested other URL having the same format like:
http://xn--fiserv.sandbox.lightning.force.com/auraCmpDef and the URL validator gives back True. So I have just made a little change again and tested this https://xm--fiserv.sandbox.lightning.force.com/auraCmpDef, which returns False again.

I have been using the validators for quite a long time, but I cannot find explanation for this behavior. I think that the validation of http://verveacu--fiserv.sandbox.lightning.force.com/auraCmpDef should return True.

BR: Zsolt

Activity

  1. nandgator commented on May 23, 2023

    @nandgator
    Collaborator

    Fixed in #264.

    Python 3.8.0 (default, Apr 24 2023, 15:11:36) 
    [GCC 12.2.1 20230201] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import validators
    >>> validators.__version__
    '0.21.1'
    >>> validators.url("http://verveacu--fiserv.sandbox.lightning.force.com/auraCmpDef")
    True

    ref: #267 & #268

  2. zsoltforray commented on May 23, 2023

    @zsoltforray
    Author

    Thank you very much @joe733

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions