Skip to content

Commit

Permalink
Regex fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yrisso committed Jul 27, 2018
1 parent edfc1ac commit 6d69c5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void verifyProtocolHttps() {

@Given("the HTTP request-response containing the login form")
public void findResponseWithLoginform() throws UnsupportedEncodingException {
String regex = "(?i)input[\\s\\w=:'-\"]*type\\s*=\\s*['\"]password['\"]";
String regex = "(?i)input[\\s\\w=:'\\-\\\"]*type\\s*=\\s*['\\\"]password['\\\"]";
List<HarEntry> responses = getProxy().getHistory();
responses = getProxy().findInResponseHistory(regex);
if (responses == null || responses.size() == 0)
Expand Down

0 comments on commit 6d69c5d

Please sign in to comment.