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

文件名中的/应该被处理 #10

Closed
Aetf opened this issue Dec 5, 2017 · 1 comment
Closed

文件名中的/应该被处理 #10

Aetf opened this issue Dec 5, 2017 · 1 comment

Comments

@Aetf
Copy link

Aetf commented Dec 5, 2017

如果下载文件名中含有文件系统不允许的字符,比如 /,那么在添加下载任务的时候应该把特殊字符替换掉,否则创建的下载文件有问题(/之前的部分被认做文件夹名,下载得到的文件不完整)。

可以用 Google Doc 做测试,新建一个含有特殊字符的文档,然后选择导出 pdf。

火狐默认的行为是替换成_1/2/3.pdf => 1_2_3.pdf
image

Aria-Integration 的行为
image
不管点击 Download 还是 Save 都没有处理文件名

@RossWang
Copy link
Owner

RossWang commented Dec 7, 2017

看起來有點複雜,下一版會修正
https://stackoverflow.com/a/31976060

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

2 participants