Fixed critical bug in protocol prepending logic
This commit is contained in:
parent
6e74b4dbab
commit
4c6ab95cff
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ public class DashboardController implements Initializable {
|
|||
String address = addressField.getText();
|
||||
|
||||
// Prepends "https://" to the address if not already done.
|
||||
if (!address.startsWith("https://") || !address.startsWith("http://")) {
|
||||
if (!(address.startsWith("https://") || address.startsWith("http://"))) {
|
||||
address = "https://" + address;
|
||||
addressField.setText(address);
|
||||
responseArea.requestFocus();
|
||||
|
|
Loading…
Reference in a new issue