зеркало из https://github.com/mozilla/gecko-dev.git
fdb8f25cb4
<!-- 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 |
||
---|---|---|
.. | ||
fetch | ||
tests | ||
Cargo.toml | ||
blob_loader.rs | ||
chrome_loader.rs | ||
connector.rs | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
filemanager_thread.rs | ||
hosts.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
image_cache.rs | ||
lib.rs | ||
mime_classifier.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
subresource_integrity.rs | ||
websocket_loader.rs |