|
return ConfigParams( |
|
**common, |
|
id=parsed_url.username or "", |
|
security=security, |
|
pbk=pbk, |
|
network=network_type, |
|
header_type=params.get("headerType", "none"), |
|
host=host, |
|
path=path, |
|
sni=sni, |
|
fp=params.get("fp", ""), |
|
alpn=params.get("alpn", ""), |
|
flow=params.get("flow", ""), |
|
encryption=params.get("encryption", "none"), |
|
) |
This is huge mistake. I wonder are uri parsers of other protocols also have such kind of errors.
python_v2ray/python_v2ray/config_parser.py
Lines 187 to 201 in 75284bd
This is huge mistake. I wonder are uri parsers of other protocols also have such kind of errors.