mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
fix(v0.11): 第六轮走查——legacy 去除 System.out 演示入口与 Kafka 消费端日志
- AESUtils / RSAUtils / SM4Utils / CustomXssUtil / SnowFlakeSerialCode:删除仅用于本地演示的 main,消除生产源码中的 System.out。
- KafkaConsumer:移除 printStackTrace;异常改为 logger.error(msg, e);Class.newInstance 改为 getDeclaredConstructor().newInstance()。
对应 docs/reviews 05 工程卫生项;全量 maven-cloudwalk-legacy-public 已通过 compile。
Made-with: Cursor
Former-commit-id: 2d9fa1c9de
This commit is contained in:
-4
@@ -133,10 +133,6 @@ value = ONLOAD_PATTERN.matcher(value).replaceAll("");
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(stripXSS("\\\"><img src=x onerror=alert(1)>"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user