Skip to content

Commit 615275c

Browse files
authored
Merge pull request #48 from gdamjan/master
Origin instead of Host
2 parents a84419d + 1037457 commit 615275c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ This is called [`withCredentials`][wc] in JavaScript, and it allows a couple
772772
other risky things as well. It can be useful if `www.example.com` needs to
773773
talk to `uploads.example.com`, but it should be used very carefully!
774774
775-
For example, every HTTP request includes a `Host` header revealing the domain,
775+
For example, every HTTP request includes a `Origin` header revealing the domain,
776776
so any request to `facebook.com` reveals the website that sent it. From there,
777777
cookies can be used to correlate browsing habits with specific users. “Oh, it
778778
looks like they visited `example.com`. Maybe they want ads about examples!”

0 commit comments

Comments
 (0)