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