From 848a0757fa91363ac9f0a01d23e2381f8ae5a94d Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Wed, 11 Jun 2014 23:01:16 -0700 Subject: [PATCH] fixing https issue with URL validator --- src/main/java/com/rarchives/ripme/ui/MainWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ui/MainWindow.java b/src/main/java/com/rarchives/ripme/ui/MainWindow.java index 84485154..878932fa 100644 --- a/src/main/java/com/rarchives/ripme/ui/MainWindow.java +++ b/src/main/java/com/rarchives/ripme/ui/MainWindow.java @@ -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);