mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-01-30 20:56:36 +00:00
XHTTP client: Add back minimal path padding for compatibility
It should be reverted in the future.
This commit is contained in:
parent
f35fb08aeb
commit
efdc70fbf7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue