mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-28 09:58:10 +03:00
Assign tls for Trojan security by default
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -408,7 +408,8 @@ class ImportLinkAction(Action):
|
||||
password, address, port = re.split(r'[@:]', parseResult.netloc)
|
||||
|
||||
type_ = queryObject.get('type', 'tcp')
|
||||
security = queryObject.get('security', 'none')
|
||||
# For Trojan: Assign tls by default
|
||||
security = queryObject.get('security', 'tls')
|
||||
|
||||
# Remove redundant items
|
||||
queryObject.pop('type', '')
|
||||
|
||||
Reference in New Issue
Block a user