commit | acf355c37ab9529ea518a3887b86501b22cf199b | [log] [tgz] |
---|---|---|
author | anthie@google.com <anthie@google.com> | Mon Mar 31 15:33:13 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 31 15:33:13 2025 |
tree | 9690269607a6f220392e66c31ba3fed1602552e1 | |
parent | 2aa86f38ccd0ad0db9f3e0d7887fa2fec9361ada [diff] |
Explicitly terminate local approval requests with empty hosts At the end of the url approval flow the blocked url host is what gets allow-listed. Although a real-life navigation a blocked url without a host should not happen, it's better to terminate the approval request early in that case. Today nothing prevents the code from running the local approval with an empty host, which would result in allow listing an empty string. Change-Id: Idf4657c16cc4efcf29e75dfc127674a9050c7c03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6415651 Reviewed-by: Duong Dac <ddac@chromium.org> Commit-Queue: Anthi Orfanou <anthie@google.com> Cr-Commit-Position: refs/heads/main@{#1440303}
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.