forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mime parsing to require slash in mime
When migrating ParseContentType() from http_util to become ParseMimeType() I noticed that code to check for a slash in the mime type was inadvertently looking through the entire string. Bug: 1202034 Change-Id: If78c75be6e302f6cc2314264bd68ec4090b81732 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2896198 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#883248}
- Loading branch information
Joel Hockey
authored and
Chromium LUCI CQ
committed
May 15, 2021
1 parent
757d8a1
commit f89e0d4
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters