w3c / payment-method-id

Payment Method Identifiers specification
https://w3c.github.io/payment-method-id/
Other
23 stars 20 forks source link

use of 'must' in section on Syntax of URLs as Payment Method Identifiers is suspicious #28

Closed dbaron closed 7 years ago

dbaron commented 7 years ago

The section on Syntax of URLs as Payment Method Identifiers currently says:

When URLs are used for payment method identifiers they MUST be absolute URLs including, at most, a scheme, host, port and path. The URL must be a potentially trustworthy URL as defined in the [SECURE-CONTEXTS] specification. Identifier URLs MUST have null query and fragment values.

The first thing that's odd here is that there are three uses of "must", but only 2 of them are marked up as RFC2119 "must"s (the middle one is not).

But the slightly larger point here is that it's imposing a normative requirement on a URL. While RFC2119 does allow this, what I see as modern Web specification style, described well in a blog post Hixie wrote in 2006 tends to avoid this usage of "must".

In particular, it's seen as preferable to either:

(I got here from https://github.com/w3ctag/spec-reviews/issues/152.)

marcoscaceres commented 7 years ago

No longer an issue