Skip to content

Database error when receiving IPv6 with scope-id #131

Open
@sevdog

Description

@sevdog

When receiving an IPv6 there could be a "scope-id" part which is handled and validated by python stdlib.

However the string representation of this kind of value is not valid when used in postgres (see examples in RFC-4007 which raises an error

invalid input syntax for type inet: "fe80::1234%ne0"

Thus the db-prep value should not be the str representation of IPv6 addresses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions