1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-21 13:52:06 +01:00

[caps] Use the raw character data of form fields when caclulating the hash

Fixes SMACK-909.
This commit is contained in:
Florian Schmaus 2021-07-18 17:22:06 +02:00
parent e626580f68
commit 8f760eaeb3

View file

@ -1,6 +1,6 @@
/**
*
* Copyright © 2009 Jonas Ådahl, 2011-2020 Florian Schmaus
* Copyright © 2009 Jonas Ådahl, 2011-2021 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -700,7 +700,7 @@ public final class EntityCapsManager extends Manager {
for (FormField f : fs) {
sb.append(f.getFieldName());
sb.append('<');
formFieldValuesToCaps(f.getValues(), sb);
formFieldValuesToCaps(f.getRawValueCharSequences(), sb);
}
}