labbomb commented on code in PR #9935:
URL: https://github.com/apache/dolphinscheduler/pull/9935#discussion_r867322481


##########
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts:
##########
@@ -55,7 +55,7 @@ export function useHttp(model: { [field: string]: any }): 
IJsonItem[] {
           if (!value) {
             return new Error(t('project.node.http_url_tips'))
           }
-          if (value.search(new RegExp('http[s]{0,1}:\/\/([\w.]+\/?)\S*', 
'i'))) {
+          if (value.search(new RegExp('http[s]{0,1}://([w.]+/?)S*', 'i'))) {

Review Comment:
   Add a layer of annotations, or place the string inside between /



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to