Skip to content

Commit e9d029a

Browse files
committed
.
1 parent 71a4137 commit e9d029a

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

tests/basic/opts.jsonc

-12
Original file line numberDiff line numberDiff line change
@@ -517,18 +517,6 @@
517517
"user": "testuser"
518518
}
519519
},
520-
{
521-
"name": "test_37",
522-
"opts": {
523-
"dsn": "edgedb://testuser@localhost/db?password=not_secret_password"
524-
},
525-
"result": {
526-
"branch": "db",
527-
"database": "db",
528-
"password": "not_secret_password",
529-
"user": "testuser"
530-
}
531-
},
532520
{
533521
"name": "test_38",
534522
"opts": {

tests/dsn/password.jsonc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
{
3+
"name": "easy_password",
4+
"opts": {
5+
"dsn": "edgedb://testuser@localhost/db?password=not_secret_password"
6+
},
7+
"result": {
8+
"branch": "db",
9+
"database": "db",
10+
"password": "not_secret_password",
11+
"user": "testuser"
12+
}
13+
},
14+
{
15+
"name": "hardcore_password",
16+
"opts": {
17+
"dsn": "edgedb://testuser@localhost/db?password=%27%22%25%5B%5D%7B%7D%3A%2F%E2%9D%A4%EF%B8%8F"
18+
},
19+
"result": {
20+
"branch": "db",
21+
"database": "db",
22+
"password": "%[]{}:/",
23+
"user": "testuser"
24+
}
25+
},
26+
}

0 commit comments

Comments
 (0)