]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/TestEmailReciever.java
[UPDATE-CONFIG] Use 3 hosts www, secure and static.
[gigi.git] / tests / org / cacert / gigi / testUtils / TestEmailReciever.java
index e0131a3b3265ad3adb1857448882d74759f9118d..fca0a095a2c2c3d9b81109f03bdcf06bcd3d4045 100644 (file)
@@ -41,7 +41,7 @@ public class TestEmailReciever implements Runnable {
                        return replyto;
                }
                public String extractLink() {
-                       Pattern link = Pattern.compile("http://[^\\s]+(?=\\s)");
+                       Pattern link = Pattern.compile("https?://[^\\s]+(?=\\s)");
                        Matcher m = link.matcher(getMessage());
                        m.find();
                        return m.group(0);