aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltabledatacellelement.rs
diff options
context:
space:
mode:
authorSam Gibson <sam@ifdown.net>2015-12-02 15:36:38 +1100
committerSam Gibson <sam@ifdown.net>2015-12-02 15:36:38 +1100
commit732ae5714f07fdd772a6469e1d45691bf6ae046f (patch)
treeee574999e3f7e7a4603cc4f96b806c0a46f57b68 /components/script/dom/htmltabledatacellelement.rs
parenta8cbc2864367da09fb31fb5f984a7b2d31b90b93 (diff)
downloadservo-732ae5714f07fdd772a6469e1d45691bf6ae046f.tar.gz
servo-732ae5714f07fdd772a6469e1d45691bf6ae046f.zip
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
Diffstat (limited to 'components/script/dom/htmltabledatacellelement.rs')
0 files changed, 0 insertions, 0 deletions