You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/05/21 05:24:07 UTC
[dolphinscheduler] branch 3.0.0-beta-prepare updated: [Fix]Change the HTTP or HTTPS regular expression (#10166) (#10176)
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0-beta-prepare by this push:
new 4cb307e955 [Fix]Change the HTTP or HTTPS regular expression (#10166) (#10176)
4cb307e955 is described below
commit 4cb307e955716bf43a9d710e18651c74b145211f
Author: labbomb <73...@qq.com>
AuthorDate: Sat May 21 13:24:02 2022 +0800
[Fix]Change the HTTP or HTTPS regular expression (#10166) (#10176)
---
.../src/views/projects/task/components/node/fields/use-http.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts
index eaa29fdf1d..855d34c226 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts
@@ -56,7 +56,7 @@ export function useHttp(model: { [field: string]: any }): IJsonItem[] {
return new Error(t('project.node.http_url_tips'))
}
if (
- value.search(new RegExp(/http[s]{0,1}:\/\/([\w.]+\/?)\S*/, 'i'))
+ value.search(new RegExp(/http[s]{0,1}:\/\/\S*/, 'i'))
) {
return new Error(t('project.node.http_url_validator'))
}