commit | b41531e7415df7cfe8329ee014ac37248e9f128e | [log] [tgz] |
---|---|---|
author | Igor Kobylin <ikobylin@yandex-team.ru> | Thu Aug 26 20:05:27 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 26 20:05:27 2021 |
tree | 13f933f4ab2b72a4069f85621f4da477ba207b47 | |
parent | b755753e89b23f95551f262fd7d93b7cc498a465 [diff] |
Fix mime type detection for uris with fragments The old approach doesn't correctly detect mime type of resources with uris containing fragments (e.g. chrome://webui/icons-sprite.svg#icon-1 was served as text/html and thus the image wasn't rendered). The new approach ignores url fragments and fixes such issues. Bug: None Change-Id: Ic03c5bc463c1ecc0129195c2201c0f71c7d61578 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3121109 Reviewed-by: Tommy Li <tommycli@chromium.org> Commit-Queue: Igor Kobylin <ikobylin@yandex-team.ru> Cr-Commit-Position: refs/heads/main@{#915691}
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.