diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-07-08 12:59:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 12:59:29 -0700 |
commit | 104e0b473073340689b4bca5c128c61632d4e58d (patch) | |
tree | 18dceb996b6f77ba45ed7719507ab4de6a4028ba /components/net | |
parent | 85e5551ee9f2f662bdca53469a327491f35ece53 (diff) | |
parent | 9e00efc8a57b43bf12022286155e77a1dd043bde (diff) | |
download | servo-104e0b473073340689b4bca5c128c61632d4e58d.tar.gz servo-104e0b473073340689b4bca5c128c61632d4e58d.zip |
Auto merge of #17640 - emilio:starts-with-ignore-ascii-case, r=stshine
style: Fix starts_with_ignore_ascii_case.
In particular, fix a panic when the input is not ASCII and we happen to index in
something that is not a char boundary.
This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1379380
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17640)
<!-- Reviewable:end -->
Diffstat (limited to 'components/net')
0 files changed, 0 insertions, 0 deletions