We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d39e618 + cd00521 commit 69fdff0Copy full SHA for 69fdff0
gateway/core/corehttp/hostname.go
@@ -97,15 +97,6 @@ func HostnameOption() ServeOption {
97
return
98
}
99
if newURL != "" {
100
- // Just to be sure single Origin can't be abused in
101
- // web browsers that ignored the redirect for some
102
- // reason, Clear-Site-Data header clears browsing
103
- // data (cookies, storage etc) associated with
104
- // hostname's root Origin
105
- // Note: we can't use "*" due to bug in Chromium:
106
- // https://bugs.chromium.org/p/chromium/issues/detail?id=898503
107
- w.Header().Set("Clear-Site-Data", "\"cookies\", \"storage\"")
108
-
109
// Set "Location" header with redirect destination.
110
// It is ignored by curl in default mode, but will
111
// be respected by user agents that follow
0 commit comments