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 {
|
try {
|
||||||
String urlText = ripTextfield.getText().trim();
|
String urlText = ripTextfield.getText().trim();
|
||||||
if (!urlText.startsWith("http:")) {
|
if (!urlText.startsWith("http")) {
|
||||||
urlText = "http://" + urlText;
|
urlText = "http://" + urlText;
|
||||||
}
|
}
|
||||||
URL url = new URL(urlText);
|
URL url = new URL(urlText);
|
||||||
|
Loading…
Reference in New Issue
Block a user