Skip to content

Commit 453209f

Browse files
committed
Use URL.getUserInfo consistently
1 parent 7296099 commit 453209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/remote/internal/JreHttpClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private JreHttpClient(URL url) {
4646
}
4747
this.url = url;
4848

49-
String authority = url.getAuthority();
49+
String authority = url.getUserInfo();
5050
if (authority == null || "".equals(authority)) {
5151
auth = null;
5252
} else {

0 commit comments

Comments
 (0)