3x-ui/subproject/Xray-core-main/common
test999 367152556a **Fixes & Changes:**
1. **Fixed XPadding Placement Dropdown**:
   - Added the missing `cookie` and `query` options to `xPaddingPlacement` (`stream_xhttp.html`).
   - *Why:* Previously, users wanting `cookie` obfuscation were forced to use the `header` placement string. This caused Xray-core to blindly intercept the entire monolithic HTTP Cookie header, failing internal padding-length validations and causing the inbound to silently drop the connection.
2. **Fixed Uplink Data Placement Validation**:
   - Replaced the unsupported `query` option with `cookie` in `uplinkDataPlacement`.
   - *Why:* Xray-core's `transport_internet.go` explicitly forbids `query` as an uplink placement option. Selecting it from the UI previously sent a payload that would cause Xray-core to instantly throw an `unsupported uplink data placement: query` panic. Adding `cookie` perfectly aligns the UI with Xray-core restrictions.
### Related Issues
- Resolves #3992
2026-04-06 15:00:43 +03:00
..
antireplay **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
bitmask **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
buf **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
bytespool **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
cache **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
cmdarg **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
crypto **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
ctx **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
dice **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
drain **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
errors **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
log **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
mux **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
net **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
ocsp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
peer **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
platform **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
protocol **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
reflect **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
retry **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
serial **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
session **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
signal **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
singbridge **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
strmatcher **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
task **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
units **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
utils **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
uuid **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
xudp **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
common.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
common_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
interfaces.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
type.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00
type_test.go **Fixes & Changes:** 2026-04-06 15:00:43 +03:00