fix: use plain SNI in share links for v2rayNG import
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -22,8 +22,8 @@ def load_env() -> dict[str, str]:
|
||||
|
||||
|
||||
def _sni_qs(value: str) -> str:
|
||||
"""Encode dots in SNI; some clients misparsed sni=www.microsoft.com."""
|
||||
return value.replace(".", "%2E")
|
||||
"""SNI in share links — use plain domain; clients decode URL themselves."""
|
||||
return value
|
||||
|
||||
|
||||
def build_links(node: dict, env: dict | None = None) -> dict[str, str | dict[str, str]]:
|
||||
|
||||
Reference in New Issue
Block a user