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

Commit4a3fdbd

Browse files
committed
Allow spaces in connection strings in SSL tests
Connection strings can have items with spaces in them, wrapped inquotes. The tests however ran a SELECT '$connstr' upon connection whichbroke on the embedded quotes. Use dollar quotes on the connstr toprotect against this. This was hit during the development of the macOSSecure Transport patch, but is independent of it.Author: Daniel Gustafsson <daniel@yesql.se>
1 parent945f71d commit4a3fdbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/ssl/ServerSetup.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sub run_test_psql
4242
my$logstring =$_[1];
4343

4444
my$cmd = [
45-
'psql','-X','-A','-t','-c',"SELECT'connected with$connstr'",
45+
'psql','-X','-A','-t','-c',"SELECT\$\$connected with$connstr\$\$",
4646
'-d',"$connstr" ];
4747

4848
my$result = run_log($cmd);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp