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