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

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

From
Jorge Solórzano
Date:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 61af1befe28150db2150c732522d6e85c1795c3d
      https://github.com/pgjdbc/pgjdbc/commit/61af1befe28150db2150c732522d6e85c1795c3d
  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 (#2054)

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

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