fix port collision between username and password (#51)

This commit is contained in:
Johann150 2021-04-08 23:32:38 +02:00 committed by GitHub
commit a650f24d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,8 +274,8 @@ fn username() {
/// - URLS with password are rejected
fn password() {
let page = get(
&["--addr", "[::]:1984", "--hostname", "example.com"],
addr(1984),
&["--addr", "[::]:1985", "--hostname", "example.com"],
addr(1985),
"gemini://:secret@example.com/",
)
.expect("could not get page");