Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Enforce host in PaymentPointer #441

@sappenin

Description

@sappenin

The current implementation of PaymentPointer allows parses $https://dev.foo.example.com/someone to the URL https://https//dev.foo.example.com/someone which is not a valid URL.

The PaymentPointer's normalization method should enforce that the host portion of a payment pointer conforms to RFC-3986, which disallows : or / in the host.

At the same time, we should likewise ensure that the path component of a PaymentPointer conforms to section 3.3 of RFC-3986.

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