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

[Bug]: 路由设置里面,在已存在的规则里面,ctrl+c复制出来的规则,在新建一个规则里无法从“剪贴板导入” #5098

Closed
2 tasks done
zazitufu opened this issue May 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zazitufu
Copy link

预期情况

ctrl+c复制出的规则,应该能正常在剪贴板里导入。

实际情况

路由设置里面,在已存在的规则里面,ctrl+c复制出来的规则,在新建一个规则里无法从“剪贴板导入”,没有任何数据导入。

复现方法

v2rayN 6.43
windows11

步骤:
1、【设置】-【路由设置】-点进去一个已存在的规则集,选择已存在的规则,按ctrl+c复制到剪贴板
image

2、退出这个规则集,新建一个规则集,并进入规则集,然后在最上面选择从【剪贴板中导入规则】,不会有任何规则被导入。
image

3、打开其他文本编辑器,按ctrl+v粘贴,是有规则内容的。
image

请问是否因为在步骤一的时候,导出来的规则集不规范?造成不能直接使用?
如果是的话,能否在【路由设置】-【预定义规则集列表】里面的邮件菜单里,添加一个“导出选择的规则集到剪贴板/文件”

日志信息

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@zazitufu zazitufu added the bug Something isn't working label May 13, 2024
@2dust
Copy link
Owner

2dust commented May 13, 2024

第一步有问题,ctrl+C会触发控件自带的复制;应该点击右键 导出规则至剪贴板

@zazitufu
Copy link
Author

oh,我还以为跟以前一样没有哪个导出……
另外请教一下路由规则里面,域名前面加不加“domain:"的区别,我找xray的文档用domain看,没有看出区别来。下面两种写法都能对 example.com域名以及子域名生效。
image

@2dust
Copy link
Owner

2dust commented May 14, 2024

@2dust 2dust closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants