mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-02-07 18:19:25 +03: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()
|
||||
*/
|
||||
if query != "" {
|
||||
query += "&"
|
||||
}
|
||||
|
||||
// query += "x_version=" + core.Version()
|
||||
|
||||
query += "x_padding=" + strings.Repeat("X", int(c.GetNormalizedXPaddingBytes().From))
|
||||
|
||||
return query
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user