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

Content-Disposition Filename 读取失败问题 #703

Closed
5 of 6 tasks
SummonHIM opened this issue Apr 2, 2024 · 3 comments
Closed
5 of 6 tasks

Content-Disposition Filename 读取失败问题 #703

SummonHIM opened this issue Apr 2, 2024 · 3 comments
Labels
C: Backend S: Feedback Issue got fix, and need user feedback T: Bug Something isn't working

Comments

@SummonHIM
Copy link

复现步骤 / Step to reproduce

导入使用 Subconverter 转换后的订阅链接,无法正常读取文件名,订阅名称显示Remote file

预期行为 / Expected behaviour

导入使用 Subconverter 转换后的订阅链接,设置filename=ABC。导入订阅后订阅名称正常显示ABC

实际行为 / Actual Behaviour

导入使用 Subconverter 转换后的订阅链接,无法正常读取文件名,订阅名称显示Remote file

应用日志 / App logs

No response

备注 / Addition details

clash-verge-rev#165 一样
subconverter 返回的 Content-Disposition 是:

attachment; filename="<UTF8文本>"; filename*=utf-8''<utf8 url encode>

多了这个utf8转码就无法正确识别了,算是老verge开始就有的Bug

rev的解决方案:99851b2

Clash Nyanpasu 版本号 / Clash Nyanpasu

1.5.0 & 1.5.1-alpha+593a2ed

Clash 核心及其版本号 / Clash core and version

v1.18.1 Meta

是否为 Pre-release / Is pre-release version

593a2ed

操作系统及版本 / OS version

Windows 10.0.19045.4170

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已知悉如果没有提供正确的系统信息,以及日记,您的 Issue 会直接被关闭 / You have known that if you don't provide correct system information and logs, your issue will be closed directly
  • 您已仔细查看并知情 Q&AFAQ 中的内容 / You have read and understood the contents of Q&A and FAQ.
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@SummonHIM SummonHIM added S: Untriaged T: Bug Something isn't working labels Apr 2, 2024
@greenhat616 greenhat616 added the S: Feedback Issue got fix, and need user feedback label Apr 2, 2024
@greenhat616
Copy link
Collaborator

请尝试一下早上九时左右会自动构建的开发版。谢谢!

@SummonHIM
Copy link
Author

请尝试一下早上九时左右会自动构建的开发版。谢谢!

抱歉 这几天没法用电脑 清明后尝试

@SummonHIM
Copy link
Author

请尝试一下早上九时左右会自动构建的开发版。谢谢!

已测试 可以使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Backend S: Feedback Issue got fix, and need user feedback T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants