58
edits
(→Information Leakage: more clarifications) |
(→Data Validation: added further guidelines) |
||
Line 75: | Line 75: | ||
* PaymentItem label values (e.g., products in a shopping cart) | * PaymentItem label values (e.g., products in a shopping cart) | ||
* The web origin of the merchant website (which could include mixed scripts | * The web origin of the merchant website (which could include mixed scripts, bidirectional domain labels, confusable characters, etc.) | ||
* Error strings, especially generic error message | * Error strings, especially generic error message | ||
Firefox should validate and sanitize all untrusted strings, for instance by limiting | Firefox should validate and sanitize all untrusted strings, for instance by limiting their display length (e.g., truncate to 64 bytes or fewer, as is done for relying party names in the [https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API Web Authentication API]), always using UI elements to provide a clear boundary around these strings, not allowing these UI elements to overflow into other elements, etc. | ||
== User Interaction == | == User Interaction == |
edits