gecko-dev/servo/components/net
Paul Rouget fdb8f25cb4 servo: Merge #20182 - Prompt URL on Cmd/Ctrl-L (from paulrouget:ctrl_l); r=jdm
<!-- Please describe your changes on the following line: -->

The `sanitize_url` code is very naive. I'm sure we can do better.
This ServoShell issue describes the problem: https://github.com/paulrouget/servoshell/issues/59

I can fix that now if someone can help me figure out how to tell if a string is a valid url which is just missing a scheme. Or we can do that in a follow up.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20165

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ec3aa8bd7a985b26f894a73f9b84fc53a005d453

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c313a0358fb1b5923cad0221afdfae11ba11b03
2018-03-04 12:48:30 -05:00
..
fetch servo: Merge #19868 - Use specific assertions (from CYBAI:specific-assertion); r=emilio 2018-01-25 18:06:33 -06:00
tests servo: Merge #20143 - Bump itertools, image, flate2 and caseless (from Eijebong:bump); r=nox 2018-02-28 13:10:59 -05:00
Cargo.toml servo: Merge #20182 - Prompt URL on Cmd/Ctrl-L (from paulrouget:ctrl_l); r=jdm 2018-03-04 12:48:30 -05:00
blob_loader.rs servo: Merge #15300 - Remove unused part of the return value of parse_blob_url() (from servo:blob-fragment); r=Wafflespeanut 2017-01-30 06:21:46 -08:00
chrome_loader.rs servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
connector.rs servo: Merge #17390 - Untry (from servo:untry); r=nox 2017-06-18 05:55:11 -07:00
cookie.rs servo: Merge #19185 - Implement secure and host cookie prefixes (from KiChjang:cookie-prefixes); r=avadacatavra 2017-11-23 08:26:03 -06:00
cookie_storage.rs servo: Merge #18046 - Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) (from servo:rustup); r=emilio 2017-08-15 07:31:04 -05:00
data_loader.rs servo: Merge #16137 - Replace use of rustc_serialize::base64 by base64 (from nox:die-rustc-serialize-die); r=emilio 2017-03-26 12:23:17 -07:00
filemanager_thread.rs servo: Merge #19468 - Prevent an unused import warning on non desktop platforms (from servo:fabricedesre-patch-1); r=jdm 2017-12-05 07:13:46 -06:00
hosts.rs servo: Merge #19411 - Replace parse-hosts crate with 10 lines of code (from servo:parse-hosts); r=nox 2017-11-28 09:20:44 -06:00
hsts.rs servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio 2017-04-19 03:06:31 -05:00
http_cache.rs servo: Merge #19868 - Use specific assertions (from CYBAI:specific-assertion); r=emilio 2018-01-25 18:06:33 -06:00
http_loader.rs servo: Merge #20143 - Bump itertools, image, flate2 and caseless (from Eijebong:bump); r=nox 2018-02-28 13:10:59 -05:00
image_cache.rs servo: Merge #19715 - Update WR (removal of RGB8, which isn't supported on some hardware) (from glennw:update-wr-rgb8); r=emilio 2018-01-07 17:04:54 -06:00
lib.rs servo: Merge #19411 - Replace parse-hosts crate with 10 lines of code (from servo:parse-hosts); r=nox 2017-11-28 09:20:44 -06:00
mime_classifier.rs servo: Merge #18924 - Fix commonmark Markdown warnings in docs, part 1 (from mbrubeck:doc); r=Manishearth 2017-10-17 16:04:10 -05:00
resource_thread.rs servo: Merge #19328 - Remove cancellation map and ResourceId from the net* components (from Eijebong:remove_old_cancellation_code); r=KiChjang 2017-11-21 21:01:35 -06:00
storage_thread.rs servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
subresource_integrity.rs servo: Merge #18924 - Fix commonmark Markdown warnings in docs, part 1 (from mbrubeck:doc); r=Manishearth 2017-10-17 16:04:10 -05:00
websocket_loader.rs servo: Merge #19128 - Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) (from servo:asciiext); r=nox 2017-11-09 10:00:38 -06:00