commit | f3ae9cad5b60b2ef99d117d298f916f21c29657c | [log] [tgz] |
---|---|---|
author | Hayato Ito <hayato@chromium.org> | Mon Jan 29 07:20:01 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 29 07:20:01 2024 |
tree | adaad1e211fc04249297b4143a795203ec53fa6c | |
parent | e6e6af6d15788de362e5c081b3f6638955e43e4a [diff] |
[URL] Carry over parsed.host correctly in canonicalizing url's host The current code incorrectly assigns an invalid Component ({0, -1}) to `out_host` during URL canonicalization, even when the input host is empty (e.g. {6, 0}). Fix that because the difference matters in non-special URLs. This is a blocking issue for https://crrev.com/c/5222760. Bug: 1416006 Change-Id: I6894aa3af6819c70e5cc8feb8ba64ef3c52e00f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5231566 Reviewed-by: Timothy Gu <timothygu@chromium.org> Commit-Queue: Hayato Ito <hayato@chromium.org> Cr-Commit-Position: refs/heads/main@{#1253173}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.