mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-26 20:44:47 +03:00
0444c1f4f7
Two outbound subscriptions with overlapping tag prefixes, or a template outbound with the same tag, put duplicate tags into the generated config and Xray refused to start with "existing tag found". A changed prefix also never took effect: every refresh reused the stored tags. A refresh now reuses a stored tag only when it carries the current prefix, and an edit of the prefix rewrites the stored tags at once. Tags are disambiguated with a -N suffix against the template and the other subscriptions when they are stored, and again when the config is built, so the panel lists the same tags the core runs. Routing rules and balancers that name a tag by its old prefix stop matching after the prefix changes. Fixes #7110