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]: 应用的外部链接应该支持内网地址,目前新建编辑时输入内网地址不让保存 #6841

Closed
yinlianghui opened this issue May 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working done 开发已完成 priority: High
Milestone

Comments

@yinlianghui
Copy link
Contributor

Description

image

Steps To Reproduce 重现步骤

如题

Version 版本

2.6

@yinlianghui
Copy link
Contributor Author

已按以下规则修正此问题:

  • 魔方平台url字段类型效验规则改为默认支持相对路径,使用正则:^((http:\\/\\/|https:\\/\\/)+([^\\s\\/\\.]+(\\.[^\\s\\/\\.]+)+))*(\\/[^\\s\\.\\/]+)*$
  • 支持配置配置字段的amis.validations属性重写校验规则,配置为null或空字符串则使用amis默认的isUrl效果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done 开发已完成 priority: High
Projects
None yet
Development

No branches or pull requests

2 participants