commit | 4c2d0d3ccf0a2ee11ad6798fc22f0a8c07a6ed3e | [log] [tgz] |
---|---|---|
author | Nina Satragno <nsatragno@chromium.org> | Mon May 06 16:07:46 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 06 16:07:46 2019 |
tree | 9f5e97100bea329b7809ac617f38b4d159855783 | |
parent | 0498511d436c62545f91b68575b85b3efb9f4d37 [diff] |
[webauthn] Return SecurityError when providing an invalid icon URL Webauthn allows invalid icon URLs to pass through. This refactors CredentialsContainer to use KURL::IsNull() instead of KURL::IsEmpty() to check for empty URLs. IsEmpty() returns `true` for malformed URLs. Bug: 901589 Change-Id: I66fee9a5451f74b5873a3925b916cd9d95fb17ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1586335 Commit-Queue: Nina Satragno <nsatragno@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Kim Paulhamus <kpaulhamus@chromium.org> Cr-Commit-Position: refs/heads/master@{#656808}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .