mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-10 16:04:19 +02:00
fixing https issue with URL validator
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user