diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-01 11:22:52 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-01 11:22:52 -0600 |
commit | 9f85370885c84ebb58cd7f4a72a6e78948f468dc (patch) | |
tree | 116afa99ad40186bf809ce572ce3087daf2e9131 /components/util/ipc.rs | |
parent | 4404809e6d591ca7903e43deb693745300560d13 (diff) | |
parent | 5301e59965143f8d3d14a292f87aa96a2634cac4 (diff) | |
download | servo-9f85370885c84ebb58cd7f4a72a6e78948f468dc.tar.gz servo-9f85370885c84ebb58cd7f4a72a6e78948f468dc.zip |
Auto merge of #7449 - simartin:issue_7393, r=metajack
Issue #7393: Properly sniff mislabeled feeds.
Hi,
This patch is an attempt to fix https://github.com/servo/servo/issues/7393, where the code detecting mislabeled feeds (see https://mimesniff.spec.whatwg.org/#sniffing-a-mislabeled-feed) had spurious space in the URLs we need to match.
Note that my testing (in particular rdf_rss_ko_2.xml) highlighted a flaw in "matches", that failed to check that there were more bytes in the string being checked than in the string we're checking against, which completely broke the whole step 5.2.7.
Thanks in advance for your review.
Cheers,
Simon
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7449)
<!-- Reviewable:end -->
Diffstat (limited to 'components/util/ipc.rs')
0 files changed, 0 insertions, 0 deletions