We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca38dda commit 5cce776Copy full SHA for 5cce776
proxy/proxy.go
@@ -84,9 +84,11 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
84
// Note: the reverse proxy adds X-Forwarded-For header!
85
if r.Header.Get(MeasurementHeader) != "" {
86
http.Error(w, "unexpected measurement header passed", http.StatusForbidden)
87
+ return
88
}
89
if r.Header.Get(AttestationTypeHeader) != "" {
90
http.Error(w, "unexpected attestation type header passed", http.StatusForbidden)
91
92
93
94
if r.TLS != nil {
0 commit comments