Skip to content

Commit

Permalink
XHTTP client: Revert "Add back minimal path padding for compatibility"
Browse files Browse the repository at this point in the history
Reverts efdc70f
  • Loading branch information
RPRX authored Feb 9, 2025
1 parent 925a985 commit 7fd1b4a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions transport/internet/splithttp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ func (c *Config) GetNormalizedQuery() string {
query = pathAndQuery[1]
}

if query != "" {
query += "&"
}

// query += "x_version=" + core.Version()

query += "x_padding=" + strings.Repeat("X", int(c.GetNormalizedXPaddingBytes().From))
/*
if query != "" {
query += "&"
}
query += "x_version=" + core.Version()
*/

return query
}
Expand Down

0 comments on commit 7fd1b4a

Please sign in to comment.