Enhancements

Add 1MB file download size limit to prevent feeding a large file to the processor.
Add file scope limit to rule_base options in external config to prevent loading sensitive files as rule base.
Add support for generating Clash DOMAIN/IP-CIDR rule-providers.
Optimize codes.
This commit is contained in:
Tindy X committed 2020-04-23 22:12:56 +08:00
1 parent e7e6d9879d
commit 40bb4276d7
5 files changed
+76 -24

No files matched your search

+3
View File
@@ -21,6 +21,9 @@ exclude_remarks=(到期|剩余流量|时间|官网|产品)
;Setting an external config file as default when none is specified, supports local files/URL
;default_external_config=config/example_external_config.ini
;The file scope limit of the 'rule_base' options in external configs.
base_path=base
;Clash config base used by the generator, supports local files/URL
clash_rule_base=base/all_base.tpl