зеркало из 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 |
||
---|---|---|
.. | ||
ahem | ||
user-agent-js | ||
Credits.rtf.mako | ||
Servo.ico | ||
ahem.css | ||
android_params | ||
badcert.html | ||
badcert.jpg | ||
cert-google-only | ||
certs | ||
failure.html | ||
gatt_blocklist.txt | ||
hsts_preload.json | ||
iso-8859-8.css | ||
itried.jpg | ||
neterror.html | ||
not-found.html | ||
package-prefs.json | ||
prefs.json | ||
presentational-hints.css | ||
privatekey_for_testing.key | ||
public_domains.txt | ||
quirks-mode.css | ||
quotes.css | ||
rippy.png | ||
self_signed_certificate_for_testing.crt | ||
servo.css | ||
servo.icns | ||
servo.png | ||
servo.svg | ||
tumbeast.png | ||
user-agent.css |