zhuangchong opened a new pull request #3865:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/3865


   
   ## What is the purpose of the pull request
   
   #3835 
   
   When the tenant name contains "<", when creating/editing users and saving 
workflows, the tenant drop-down list data is blank
   
   ## Brief change log
   
   add verify tenant name cannot contain special characters.
   ```
    let isSpecial = /[~#^$@%&!*()<>《》:;'"{}【】   ]/gi
           if (isSpecial.test(this.tenantName)) {
             this.$message.warning(`${i18n.$t('Please enter tenant name without 
special characters')}`)
             return false
           }
   ```
   
   ## Verify this pull request
   This change added tests and can be verified as follows:
     - *Manually verified the change by testing locally.*
   


----------------------------------------------------------------
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]


Reply via email to