Skip to content

Commit

Permalink
过滤 0x00
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Jan 7, 2025
1 parent e322d2c commit 076b59e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public void cronUpdateTrunkerFile() {
info = MsgUtil.fillArgs(TEMPLATE_TRACKER_DATA, filteredPeerId,
String.valueOf(node.getValue().getPort()), node.getValue().getEvent().name(), String.valueOf(node.getValue().getLeft()), String.valueOf(node.getValue().getUploaded()), String.valueOf(node.getValue().getDownloaded()), filteredUserAgent);
}
rules.add(new AnalysedRule(null, node.getKey().toNormalizedString(), TRACKER_HIGH_RISK, "[AutoGen] " + info));
rules.add(new AnalysedRule(null, node.getKey().toNormalizedString(), TRACKER_HIGH_RISK, ByteUtil.filterUTF8("[AutoGen] " + info)));
}
analysedRuleRepository.replaceAll(TRACKER_HIGH_RISK, rules);
meterRegistry.gauge("sparkle_analyse_tracker_high_risk_identity", Collections.emptyList(), rules.size());
Expand Down

0 comments on commit 076b59e

Please sign in to comment.