Verified Commit 8222d87f authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

refactor(util/ticketing): only use result name for hash

parent 9df50c2b
...@@ -151,9 +151,7 @@ public class UnifiedTicketingUtil { ...@@ -151,9 +151,7 @@ public class UnifiedTicketingUtil {
throw new UnifiedticketingException(e); throw new UnifiedticketingException(e);
} }
byte[] data = digest.digest(String byte[] data = digest.digest(result.name.getBytes(StandardCharsets.UTF_8));
.join(result.name, result.failureReason)
.getBytes(StandardCharsets.UTF_8));
StringBuilder hexString = new StringBuilder(2 * data.length); StringBuilder hexString = new StringBuilder(2 * data.length);
for (byte character: data) for (byte character: data)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment