]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/TestEmailReceiver.java
Allow only verified emails and domains.
[gigi.git] / tests / org / cacert / gigi / testUtils / TestEmailReceiver.java
index 30e62e5ed5db9cd4c34be0998f81c2211da8b16e..24b7f78a4c8ca35d5ba6357d72b25d458c0025c3 100644 (file)
@@ -74,7 +74,9 @@ public final class TestEmailReceiver extends EmailProvider implements Runnable {
         }
 
         public void verify() throws IOException {
-            String[] parts = extractLink().split("\\?");
+            String link = extractLink();
+            System.out.println(link);
+            String[] parts = link.split("\\?");
             URL u = new URL("https://" + ManagedTest.getServerName() + "/verify?" + parts[1]);
 
             URLConnection csrfConn = u.openConnection();