Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] ruleset 转换的 rule-providers 的名称(expand=false情况下) ,可否将空格的URL 编码(%20 )转换回空格 #815

Open
3 tasks done
Se7enMuting opened this issue Jan 10, 2025 · 0 comments

Comments

@Se7enMuting
Copy link

Se7enMuting commented Jan 10, 2025

verify

  • 我已经仔细阅读项目文档,确认现有功能无法解决我的需求
  • 我已经检索过现有issue,确认与现有issue的内容并不重复
  • 我已经尝试自行解决,确认自己没有能力解决

功能描述

expand=false 情况下

ruleset=大陆直连,clash-classic:https://raw.githubusercontent.com/dler-io/Rules/main/Clash/Provider/Domestic%20IPs.yaml

目前会转换成:

rule-providers:
  Domestic%20IPs:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/dler-io/Rules/main/Clash/Provider/Domestic%20IPs.yaml
    path: ./providers/rule-provider_Domestic%20IPs.yaml
    interval: 86400

可能的解决方案

希望可转换成:(%20 --> 空格)

rule-providers:
  Domestic IPs:
    type: http
    behavior: classical
    url: https://raw.githubusercontent.com/dler-io/Rules/main/Clash/Provider/Domestic%20IPs.yaml
    path: ./providers/rule-provider_Domestic IPs.yaml
    interval: 86400
@Se7enMuting Se7enMuting changed the title [Feature] ruleset 转换的 rule-providers 的名称(expand=false情况下) ,可否将空格的URL 编码(%20 )转换成空格 [Feature] ruleset 转换的 rule-providers 的名称(expand=false情况下) ,可否将空格的URL 编码(%20 )转换回空格 Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant