Squidyu opened a new issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640
**For better global communication, Please describe it in English. If you
feel the description in English is not clear, then you can append description
in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
Create a new project the name contain "http",If you enter the project
process list, an Error 404 will be reported,and the interface of the new
process will also report an Error 404, and the URL path of the front-end
splicing is not correct
创建一个名称包含为“http”的新项目。如果进入项目进程列表,会报告404错误,新建流程的接口也会报告404错误,前端拼接的URL路径不正确
**Which version of Dolphin Scheduler:**
-[all-version]
**Additional context**
The following code may be the cause of the problem:
```
const resolveURL = (url) => {
if (url.indexOf('http') !== -1) {
return url
}
if (url.charAt(0) !== '/') {
return `${apiPrefix}/${url.replace(reSlashPrefix, '')}`
}
return url
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]