Change CSRF regex to be compatible with Java 8
This commit is contained in:
parent
ace7eb1220
commit
9828945ea4
|
@ -21,7 +21,7 @@ import okhttp3.Response;
|
|||
public class CamsodaHttpClient extends HttpClient {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(CamsodaHttpClient.class);
|
||||
private static final Pattern CSRF_PATTERN = Pattern.compile("\"csrf\"\s*:\s*\"(.*?)\"", MULTILINE | DOTALL);
|
||||
private static final Pattern CSRF_PATTERN = Pattern.compile("\"csrf\"\\s*:\\s*\"(.*?)\"", MULTILINE | DOTALL);
|
||||
private String csrfToken = null;
|
||||
|
||||
public CamsodaHttpClient() {
|
||||
|
|
Loading…
Reference in New Issue