This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new a5d73d47b6 [security] Don't print password in BaseController (#18862)
a5d73d47b6 is described below
commit a5d73d47b6b003f9c8f837a3bc46f349d9e30a9e
Author: ZhangJian He <[email protected]>
AuthorDate: Sun May 28 22:49:18 2023 +0800
[security] Don't print password in BaseController (#18862)
---
.../main/java/org/apache/doris/httpv2/controller/BaseController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
index 59cde0093b..dc31f5c6d0 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/controller/BaseController.java
@@ -185,7 +185,7 @@ public class BaseController {
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("user: ").append(fullUserName).append(", remote ip:
").append(remoteIp);
- sb.append(", password: ").append(password).append(", cluster:
").append(cluster);
+ sb.append(", password: ").append("********").append(", cluster:
").append(cluster);
return sb.toString();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]