mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-02-23 09:43:16 +03:00
XHTTP client: Revert "Add back minimal path padding for compatibility"
Reverts efdc70fbf7
This commit is contained in:
parent
8cb63db6c0
commit
c5de08bea6
@ -34,13 +34,12 @@ func (c *Config) GetNormalizedQuery() string {
|
|||||||
query = pathAndQuery[1]
|
query = pathAndQuery[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
if query != "" {
|
/*
|
||||||
query += "&"
|
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
|
return query
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user