Use 'url::Origin' when processing the 'Origin' header.
commit1c2885ba6a8783aaabd86e36045e21743aecca7b
authormkwst <mkwst@chromium.org>
Wed, 22 Jul 2015 14:29:32 +0000 (22 07:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 14:30:39 +0000 (22 14:30 +0000)
treec8fa8d21cfc0e84bc4680fb5a32b535549d990b2
parent77d52b2ac6ec76c56fc487c14dc405a083a23a28
Use 'url::Origin' when processing the 'Origin' header.

Rather than faking an origin with GURL::GetOrigin, we ought to do real
origin comparisons when processing the 'Origin' header during
redirection.

BUG=512374,512712

Review URL: https://codereview.chromium.org/1243983005

Cr-Commit-Position: refs/heads/master@{#339875}
net/url_request/url_request.cc