• elawrence's avatar
    Reland of 'Improve canonicalization of mailto url path components' · d7548509
    elawrence authored
    The canonicalization of the path component of mailto urls is too lax,
    leading to information disclosure and possible command injection attacks
    against mail clients. To fix this, we percent-encode more characters in
    the path component of mailto urls, matching other Firefox/IE/Edge.
    
    The original land of this patch (via 2817213002) omitted an update to
    layout tests.
    
    BUG=711020
    TEST=url_unittests,run-webkit-tests fast/url
    
    Review-Url: https://codereview.chromium.org/2820373002
    Cr-Commit-Position: refs/heads/master@{#465357}
    d7548509
Name
Last commit
Last update
..
android/java/src/org/chromium/url Loading commit data...
ipc Loading commit data...
mojo Loading commit data...
third_party/mozilla Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
features.gni Loading commit data...
gurl.cc Loading commit data...
gurl.h Loading commit data...
gurl_unittest.cc Loading commit data...
origin.cc Loading commit data...
origin.h Loading commit data...
origin_unittest.cc Loading commit data...
run_all_unittests.cc Loading commit data...
scheme_host_port.cc Loading commit data...
scheme_host_port.h Loading commit data...
scheme_host_port_unittest.cc Loading commit data...
url_canon.h Loading commit data...
url_canon_etc.cc Loading commit data...
url_canon_filesystemurl.cc Loading commit data...
url_canon_fileurl.cc Loading commit data...
url_canon_host.cc Loading commit data...
url_canon_icu.cc Loading commit data...
url_canon_icu.h Loading commit data...
url_canon_icu_alternatives_android.cc Loading commit data...
url_canon_icu_alternatives_ios.mm Loading commit data...
url_canon_icu_unittest.cc Loading commit data...
url_canon_internal.cc Loading commit data...
url_canon_internal.h Loading commit data...
url_canon_internal_file.h Loading commit data...
url_canon_ip.cc Loading commit data...
url_canon_ip.h Loading commit data...
url_canon_mailtourl.cc Loading commit data...
url_canon_path.cc Loading commit data...
url_canon_pathurl.cc Loading commit data...
url_canon_query.cc Loading commit data...
url_canon_relative.cc Loading commit data...
url_canon_stdstring.cc Loading commit data...
url_canon_stdstring.h Loading commit data...
url_canon_stdurl.cc Loading commit data...
url_canon_unittest.cc Loading commit data...
url_constants.cc Loading commit data...
url_constants.h Loading commit data...
url_export.h Loading commit data...
url_file.h Loading commit data...
url_parse_file.cc Loading commit data...
url_parse_internal.h Loading commit data...
url_parse_unittest.cc Loading commit data...
url_test_utils.h Loading commit data...
url_util.cc Loading commit data...
url_util.h Loading commit data...
url_util_internal.h Loading commit data...
url_util_unittest.cc Loading commit data...