Build: #22 did not start Changes by Florian Schmaus <flo@geekplace.eu>

Code commits

Smack (4.2)

  • Florian Schmaus <flo@geekplace.eu>

    Florian Schmaus <flo@geekplace.eu> d421b2fa1b4c13ae08f5d5d5eef04185ab6e1a14

    Fix provided SASL DIGEST-MD5 mechanism
    In case the server provided nonce contained one or more equals
    characters ("=") the part.split("=") call would return more then the
    expected two key/value parts. Hence we simply use part.split("=", 2).

    Also made the unit test check for this case.

    Fixes SMACK-755

    • smack-core/src/test/java/org/jivesoftware/smack/sasl/DigestMd5SaslTest.java (version d421b2fa1b4c13ae08f5d5d5eef04185ab6e1a14)
    • smack-sasl-provided/src/main/java/org/jivesoftware/smack/sasl/provided/SASLDigestMD5Mechanism.java (version d421b2fa1b4c13ae08f5d5d5eef04185ab6e1a14)