forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of Improve canonicalization of mailto url path components (pat…
…chset chromium#2 id:20001 of https://codereview.chromium.org/2817213002/ ) Reason for revert: appears to be breaking fast/url/mailto.html on at least the Mac bots: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.10/builds/32726 https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.12/builds/1614 https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.9/builds/45169 diffs: -PASS canonicalize('mailto:addr1, addr2') is 'mailto:addr1, addr2' +FAIL canonicalize('mailto:addr1, addr2') should be mailto:addr1, addr2. Was mailto:addr1,%20addr2. Original issue's description: > Improve canonicalization of mailto url path components > > 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 will percent-encode more characters in the path > component of mailto urls, matching other browsers. > > BUG=711020 > TEST=url_unittests > > Review-Url: https://codereview.chromium.org/2817213002 > Cr-Commit-Position: refs/heads/master@{#465046} > Committed: https://chromium.googlesource.com/chromium/src/+/484ff36cdcb8dcf5efa999a471d1d509c0a8a5f2 TBR=brettw@chromium.org,elawrence@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=711020 Review-Url: https://codereview.chromium.org/2823883005 Cr-Commit-Position: refs/heads/master@{#465063}
- Loading branch information
alexmos
authored and
Commit bot
committed
Apr 17, 2017
1 parent
c236847
commit 468109c
Showing
2 changed files
with
16 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters