Commit 8e7b297
committed
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 df2371b commit 8e7b297
1 file changed
Lines changed: 1 addition & 5 deletions
File tree
- hiddifypanel/hutils/proxy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 331 | | |
336 | 332 | | |
337 | 333 | | |
| |||
0 commit comments