Skip to content

fix: respect TLSSecure setting for VLESS in Clash export#55

Open
tianlang0704 wants to merge 1 commit into
MetaCubeX:masterfrom
tianlang0704:fix-vless-tls-force-true
Open

fix: respect TLSSecure setting for VLESS in Clash export#55
tianlang0704 wants to merge 1 commit into
MetaCubeX:masterfrom
tianlang0704:fix-vless-tls-force-true

Conversation

@tianlang0704

Copy link
Copy Markdown

Summary

  • Fixed issue where VLESS proxies always had TLS forced to true in Clash export
  • Changed singleproxy tls assignment to use x.TLSSecure to respect the actual TLS setting from parsed input

Problem

When converting VLESS nodes to Clash format, the TLS field was hardcoded to true regardless of the input actual TLS setting. This caused VLESS nodes without TLS to incorrectly have TLS enabled in the output.

Solution

Use the TLSSecure property from the parsed proxy node, consistent with how VMess and other proxy types handle TLS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant