Răsfoiți Sursa

Fix: meek_host_header should not be logged for HTTPS meek protocols

Rod Hynes 7 ani în urmă
părinte
comite
0f5f5f748c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      psiphon/server/api.go

+ 1 - 1
psiphon/server/api.go

@@ -815,7 +815,7 @@ func getRequestLogFields(
 			!protocol.TunnelProtocolUsesFrontedMeek(tunnelProtocol) {
 
 			// Non-HTTP unfronted meek protocols never tranform the host header.
-			if !protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
+			if protocol.TunnelProtocolUsesMeekHTTPS(tunnelProtocol) {
 				continue
 			}