diff --git a/lib/url-state-machine.js b/lib/url-state-machine.js index ff3f095..52202bd 100644 --- a/lib/url-state-machine.js +++ b/lib/url-state-machine.js @@ -1039,10 +1039,7 @@ URLStateMachine.prototype["parse opaque path"] = function parseOpaquePath(c) { this.url.fragment = ""; this.state = "fragment"; } else { - // TODO: Add: not a URL code point - if (!isNaN(c) && c !== p("%")) { - this.validationErrors.push("invalid-URL-unit"); - } + // TODO: If c is not the EOF code point, not a URL code point, and not U+0025 (%), invalid-URL-unit validation error. if (c === p("%") && (!infra.isASCIIHex(this.input[this.pointer + 1]) ||