[Bug]: Per-client spiderX drops the spider settings (p, c, t, i, r) set in the seed query
Describe the bug
Xray's REALITY client reads p, c, t, i and r from the spiderX query as settings for its own spider (padding, concurrency, times, interval, return; see infra/conf/transport_security.go in Xray-core). Since per-client spiderX derivation was added (#5718), deriveSpiderX hashes the inbound's whole spiderX into a bare / + 15 hex path. Anything after ? is dropped from every share link and JSON subscription, so the spider always runs with Xray's defaults, whatever the inbound says.
How to reproduce the problem
- Create a VLESS + REALITY inbound and set SpiderX to
/?p=40-400&c=1-4&t=1-3&i=1500-6000&r=500-2000. - Export a client's share link, or fetch the JSON subscription.
- Look at
spx/realitySettings.spiderX.
Expected behavior
/<per-client hash>?p=40-400&c=1-4&t=1-3&i=1500-6000&r=500-2000
Actual behavior
/64fc68fc63f6635: the spider settings are gone.
Relevant logs
None (silent data loss). Fix PR to follow.
3x-ui version
3.8.5 (unchanged on main @ 8c023d1)
Xray-core version
26.7.28 / 26.9.9
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
Subscription (share links / Clash / JSON), Frontend (UI / panel pages)
Source: MHSanaei/3x-ui