Skip to content

Wrong client configuration string exported for reality #1601

@vlasov-y

Description

@vlasov-y

Describe the bug

If you create a new configuration, set reality transport and try to export client configuration, you receive wrong connection string.

Wrong connection string

Problem is that security=tls instead of security=reality, and it lacks other options as well.

vless://...@my.proxy.com:443?type=xhttp&encryption=none&path=%2Fcustom-path&host=target.site.com&mode=auto&security=tls#experiment-new-t1n89v4n

Expected connection string

vless://...@my.proxy.com:443?type=xhttp&encryption=none&path=%2Fcustom-path&host=target.site.com&mode=auto&security=reality&pbk=...&fp=chrome&sni=target.site.com&sid=&spx=%2F#experiment-t1n89v4n

Additional context

I have spotted this bug on 1.8.12, maybe it got broken before. I have tried latest (1.9.1) - bug is still there.
Interesting fact: I have reality configuration created a long time ago, and ** if I duplicate it and reconfigure** - there is no bug, but if I create one from scratch - there is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions