fixing https issue with URL validator
This commit is contained in:
parent
bcb2e704fb
commit
848a0757fa
@ -384,7 +384,7 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
||||
}
|
||||
try {
|
||||
String urlText = ripTextfield.getText().trim();
|
||||
if (!urlText.startsWith("http:")) {
|
||||
if (!urlText.startsWith("http")) {
|
||||
urlText = "http://" + urlText;
|
||||
}
|
||||
URL url = new URL(urlText);
|
||||
|
Loading…
Reference in New Issue
Block a user