XHTTP client: Allow different paths in U-D-S (#3977)

This commit is contained in:
RPRX 2024-11-07 03:50:28 +00:00 committed by GitHub
parent 71cfea8aae
commit 6877ca5201
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ func Dial(ctx context.Context, dest net.Destination, streamSettings *internet.Me
if requestURL2.Host == "" { if requestURL2.Host == "" {
requestURL2.Host = memory2.Destination.NetAddr() requestURL2.Host = memory2.Destination.NetAddr()
} }
requestURL2.Path = requestURL.Path // the same requestURL2.Path = config2.GetNormalizedPath() + sessionIdUuid.String()
requestURL2.RawQuery = config2.GetNormalizedQuery() requestURL2.RawQuery = config2.GetNormalizedQuery()
} }