Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd74a366

Browse files
committed
Fix comment in fe-auth-scram.c
The frontend-side routine in charge of building a SCRAM verifiermentioned that the restrictions applying to SASLprep on the passwordwith the encoding are described at the top of fe-auth-scram.c, but thisinformation is in auth-scram.c.This is wrong since8f8b9be, so backpatch all the way down as this is animportant documentation bit.Spotted while reviewing a different patch.Backpatch-through: 11
1 parent8242752 commitd74a366

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/interfaces/libpq/fe-auth-scram.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,8 @@ pg_fe_scram_build_secret(const char *password, const char **errstr)
892892
/*
893893
* Normalize the password with SASLprep. If that doesn't work, because
894894
* the password isn't valid UTF-8 or contains prohibited characters, just
895-
* proceed with the original password. (See comments at top of file.)
895+
* proceed with the original password. (See comments at the top of
896+
* auth-scram.c.)
896897
*/
897898
rc=pg_saslprep(password,&prep_password);
898899
if (rc==SASLPREP_OOM)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp