Commit a1dd4ab
committed
Set referrer policy to avoid leaking URL auth params
We're only leaking these to ourselves (strict-origin-when-cross-origin
is the default, which is equivalent to this for connections elsewhere)
and the auth token is only useful if you can access the local-only
CORS-blocked local admin port, but it's still a good idea not to let it
leave the machine.1 parent a593641 commit a1dd4ab
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
0 commit comments