Disallow '+', '-', '.' and digits as the first character of a scheme.
This CL recognizes that https://url.spec.whatwg.org/#scheme-start-state only allows "ASCII alpha" as the first letter of a URL scheme. Thanks to this change, "1:..." is not treated as an absolute URL. Fixed: 530123 Change-Id: I5ebadaebab18aebb5903968d14f39f092057f3cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080075Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#746191}
Showing
Please register or sign in to comment