Skip to content

origin() does not keep IPv6 brackets #504

@serhiy-storchaka

Description

@serhiy-storchaka

For example:

>>> u = URL('http://[::1].org:8080')
>>> u
URL('http://[::1]:8080')
>>> u.origin()
URL('http://::1:8080')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions