|
@@ -313,8 +313,8 @@ func (p *ReverseProxy) ProxyHTTP(rw http.ResponseWriter, req *http.Request, rrr
|
|
// Rewrite outbound UA, must be after user headers
|
|
// Rewrite outbound UA, must be after user headers
|
|
rewriteUserAgent(outreq.Header, "Zoraxy/"+rrr.Version)
|
|
rewriteUserAgent(outreq.Header, "Zoraxy/"+rrr.Version)
|
|
|
|
|
|
- //Fix proxmox transfer encoding bug if detected Proxmox Cookie with POST request
|
|
|
|
- if outreq.Method == http.MethodPost && domainsniff.IsProxmox(req) {
|
|
|
|
|
|
+ //Fix proxmox transfer encoding bug if detected Proxmox Cookie
|
|
|
|
+ if domainsniff.IsProxmox(req) {
|
|
outreq.TransferEncoding = []string{"identity"}
|
|
outreq.TransferEncoding = []string{"identity"}
|
|
}
|
|
}
|
|
|
|
|