fix(security): fix sec-fetch filter
This commit was merged in pull request #283.
This commit is contained in:
@@ -19,7 +19,7 @@ func SecFetchFilter(next http.Handler) http.Handler {
|
||||
}
|
||||
|
||||
_, exists := allowedSites[r.Header.Get("Sec-Fetch-Site")]
|
||||
if !exists {
|
||||
if exists {
|
||||
next.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user