Commit 997b6f9
fix(proxy): stop emitting allowInsecure for domains with a valid cert
need_valid_ssl already yields False for the modes that are supposed to have a
certificate, but the servernames branch overwrote it with True for every
non-Reality domain. The guard never gates: re.split on an empty string returns
[''], which is truthy, so the block runs for every domain.
Xray-core has removed allowInsecure, so configs carrying it are now rejected.
Refs hiddify/Hiddify-Manager#54381 parent 486a86d commit 997b6f9
1 file changed
Lines changed: 1 addition & 4 deletions
File tree
- hiddifypanel/hutils/proxy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 360 | | |
364 | 361 | | |
365 | 362 | | |
| |||
0 commit comments