Thread: [pgjdbc/pgjdbc] b48000: fix: Use SASLprep normalization for SCRAM authenti...

[pgjdbc/pgjdbc] b48000: fix: Use SASLprep normalization for SCRAM authenti...

From
Jorge Solórzano
Date:
  Branch: refs/heads/release/42.2
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: b4800044b3db9aef0d264baef2a95355c9059a1f
      https://github.com/pgjdbc/pgjdbc/commit/b4800044b3db9aef0d264baef2a95355c9059a1f
  Author: Jorge Solórzano <jorsol@gmail.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M .travis/travis_install_head_postgres.sh
    M .travis/travis_install_postgres.sh
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/jre7/sasl/ScramAuthenticator.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ScramTest.java
    M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java

  Log Message:
  -----------
  fix: Use SASLprep normalization for SCRAM authentication (#2052)

Using NO_PREPARATION the handling of spaces was incorrect, the driver should use SASL_PREPARATION.

Signed-off-by: Jorge Solórzano <jorsol@gmail.com>