mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-01-31 05:06:37 +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]
|
query = pathAndQuery[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
if query != "" {
|
||||||
if query != "" {
|
query += "&"
|
||||||
query += "&"
|
}
|
||||||
}
|
|
||||||
query += "x_version=" + core.Version()
|
// query += "x_version=" + core.Version()
|
||||||
*/
|
|
||||||
|
query += "x_padding=" + strings.Repeat("X", int(c.GetNormalizedXPaddingBytes().From))
|
||||||
|
|
||||||
return query
|
return query
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue