diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-02 10:25:05 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-02 10:25:05 +0530 |
commit | 2be60be062e14c937af601faed78a6aceccdb062 (patch) | |
tree | ee574999e3f7e7a4603cc4f96b806c0a46f57b68 /components | |
parent | a8cbc2864367da09fb31fb5f984a7b2d31b90b93 (diff) | |
parent | 732ae5714f07fdd772a6469e1d45691bf6ae046f (diff) | |
download | servo-2be60be062e14c937af601faed78a6aceccdb062.tar.gz servo-2be60be062e14c937af601faed78a6aceccdb062.zip |
Auto merge of #8776 - samfoo:hsts-preload-download-fix, r=jdm
Fix the parsing of the chromium HSTS preload list
Urg! The Chromium HSTS preload JSON file contains single line comments. Previously these were filtered out with a very simple regex that just looked for '//' and removed the line. Now the file has added a couple fields that have URLs in them that were erroneously removed and caused the JSON parsing to fail. This commit slightly complicates the regex to fix this specific problem.
If this happens again, it's likely worth it to figure out how to use a real parser to remove the comments.
servo/servo#8760
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8776)
<!-- Reviewable:end -->
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions