XHTTP client: Add back minimal path padding for compatibility

It should be reverted in the future.
This commit is contained in:
RPRX 2025-01-30 10:45:12 +00:00 committed by GitHub
parent f35fb08aeb
commit efdc70fbf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,12 +34,13 @@ func (c *Config) GetNormalizedQuery() string {
query = pathAndQuery[1]
}
/*
if query != "" {
query += "&"
}
query += "x_version=" + core.Version()
*/
// query += "x_version=" + core.Version()
query += "x_padding=" + strings.Repeat("X", int(c.GetNormalizedXPaddingBytes().From))
return query
}