kubesphere / ks-devops

This is a cloud-native application that focuses on the DevOps area.
https://kubesphere.io/devops/
Apache License 2.0
159 stars 89 forks source link

When there are special characters in the visual editor shell, it throws an error #1000

Closed chilianyi closed 1 year ago

chilianyi commented 1 year ago

What is version of KubeSphere DevOps has the issue?

v3.4.0

How did you install the Kubernetes? Or what is the Kubernetes distribution?

kubekey

What happened?

截屏2023-09-26 18 12 54

when there are " or \ characters in shell, will return a error

Relevant log output

No response

Additional information

No response

chilianyi commented 1 year ago

Enter two \ "\\" in jenkinsfile When open in shell, it only show one \

chilianyi commented 1 year ago

Enter ' in jenkinsfile When open in shell, it show ', while save without any change, open jenksinfile again, it change to \'