mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 16:41:35 -04:00
proxy: Avoid duplicated Www-Authenticate headers
For endpoints in the "ProxyWwwAuthenticate" list we accidently set the Www-Authenticate header twice.
This commit is contained in:
committed by
Ralf Haferkamp
parent
07a718dc8e
commit
951e1e5a09
@@ -204,7 +204,6 @@ func evalRequestURI(l userAgentLocker, r regexp.Regexp) {
|
||||
return
|
||||
}
|
||||
}
|
||||
l.w.Header().Add(WwwAuthenticate, fmt.Sprintf("%v realm=\"%s\", charset=\"UTF-8\"", caser.String(l.fallback), l.r.Host))
|
||||
}
|
||||
|
||||
func getTraceProvider(o Options) trace.TracerProvider {
|
||||
|
||||
Reference in New Issue
Block a user