Skip to content

file:// 协议兼容 Window 平台使用 / 作为目录分割线 #5681

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

Closed
1 task done
Zuoqiu-Yingyi opened this issue Aug 19, 2022 · 1 comment
Closed
1 task done
Assignees
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

Zuoqiu-Yingyi commented Aug 19, 2022

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

点击超链接 [链接](file://C:/Sync/OneDrive/桌面/MouseWithoutBorders/) 时会弹出如下错误提示框:
image
而点击超链接 [链接](file://C:\Sync\OneDrive\桌面\MouseWithoutBorders\) 时则可以正常打开对应目录

window 系统实际上兼容 / 作为目录分割线

期待的结果 Expected result

超链接 [链接](file://C:/Sync/OneDrive/桌面/MouseWithoutBorders/)[链接](file://C:\Sync\OneDrive\桌面\MouseWithoutBorders\) 等效

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: v1.2.6
- Operating System: 
- Browser (if used):

日志文件 Log file

更多信息 More information

此外, 目前该版本也不兼容 [链接](file:///C:/Sync/OneDrive/桌面/MouseWithoutBorders/)[链接](file://\C:\Sync\OneDrive\桌面\MouseWithoutBorders\), file:// 后的第一个 /\ 表示文件系统根目录

@88250 88250 changed the title file:// 协议未兼容 window 平台使用 / 作为目录分割线 file:// 协议未兼容 Window 平台使用 / 作为目录分割线 Aug 19, 2022
@88250 88250 self-assigned this Aug 19, 2022
@88250 88250 added this to the 2.1.8 milestone Aug 19, 2022
@88250 88250 changed the title file:// 协议未兼容 Window 平台使用 / 作为目录分割线 file:// 协议兼容 Window 平台使用 / 作为目录分割线 Aug 19, 2022
88250 added a commit that referenced this issue Aug 19, 2022

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Aug 19, 2022
@Achuan-2
Copy link
Member

点个赞,这样我用CopyQ快速获得file协议链接,就能不用修改也能插入思源了

Vanessa219 added a commit that referenced this issue Aug 20, 2022

Verified

This commit was signed with the committer’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants