]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/TestEmailReceiver.java
add: more strict ticket handling. User history page
[gigi.git] / tests / org / cacert / gigi / testUtils / TestEmailReceiver.java
index 30e62e5ed5db9cd4c34be0998f81c2211da8b16e..cdbf9321f46d33c8739d5e156365daa0da2465c4 100644 (file)
@@ -74,7 +74,8 @@ public final class TestEmailReceiver extends EmailProvider implements Runnable {
         }
 
         public void verify() throws IOException {
-            String[] parts = extractLink().split("\\?");
+            String link = extractLink();
+            String[] parts = link.split("\\?");
             URL u = new URL("https://" + ManagedTest.getServerName() + "/verify?" + parts[1]);
 
             URLConnection csrfConn = u.openConnection();