Skip to content

URL handling for icons/logos should only allow https, http, and data URLs #300

Description

@stephenmcgruer

Currently in the spec we reject the PaymentCredentialInstrument icon if it fails the URL parser (https://w3c.github.io/secure-payment-confirmation/#sctn-steps-to-validate-payment-method-data, step 6), but do not check the scheme. There is a non-normative note in the member description (https://w3c.github.io/secure-payment-confirmation/#dom-paymentcredentialinstrument-icon), but the spec should normatively reject URLs with schemes that are not one of https, http, or data.

This should also apply to PaymentEntityLogo urls.

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