yangyichao-mango commented on pull request #3420:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/3420#issuecomment-669862299


   @Jave-Chen @dailidong 
   I think this sonar test rule can be deleted.
   The purpose of this sonar detection is to prevent the log pattern from being 
destroyed by some characters entered.
   
   1. But for DS, it is usually used in the intranet, which rarely happens. In 
addition, we also have a layer of protection for user login detection.
   
   2. The purpose of logging in the controller is to record and restore real 
data to help users check for exceptions. This sonar detection will change the 
format of formal data.
   
   -----------------
   
   我觉得这个检测可以删除。
   这个sonar检测的目的是为了防止输入的一些字符导致log pattern被破坏。
   
   1.但是对于ds来说,一般都是在内网使用,很少会出现这种情况,并且我们还有用户登陆检测做一层防护。
   2.在controller打log的目的就是记录和还原真实数据,帮助用户检查异常,这个sonar检测会让正式数据的格式发生改变。
   
![image](https://user-images.githubusercontent.com/29545877/89524613-73fc8d80-d817-11ea-8737-3bbe95137089.png)
   


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