yyqdbngt opened a new pull request, #2817:
URL: https://github.com/apache/rocketmq-dashboard/pull/2817

   ## Summary
   - escape structural delimiters in alert instance and label values before 
hashing
   - prevent distinct label maps from serializing to the same fingerprint input
   - preserve fingerprints for ordinary values and add collision coverage
   
   ## Why
   Newlines and equals signs inside label values could mimic the fingerprint 
serialization delimiters, allowing structurally different alerts to share a 
fingerprint.
   
   ## Testing
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 
PATH=/opt/homebrew/opt/openjdk@21/bin:$PATH mvn -f server/pom.xml 
-Dtest=AlertFingerprintTest test`


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to