XHTTP client: Revert "Add back minimal path padding for compatibility"

Reverts efdc70fbf7
This commit is contained in:
RPRX 2025-02-18 11:11:36 +00:00 committed by GitHub
parent 8cb63db6c0
commit c5de08bea6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}