Skip to content

Commit

Permalink
Change in regex to meet current ZAP format
Browse files Browse the repository at this point in the history
  • Loading branch information
jselvi committed Jan 11, 2023
1 parent 92530b5 commit d893283
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ public static ArrayList<IHttpRequestResponse> importZAP() {
Iterator<String> i = lines.iterator();

// Format:
// ==== [0-9]+ ==========
// ===[0-9]+ ==========
// REQUEST
// <empty>
// RESPONSE
String reSeparator = "^==== [0-9]+ ==========$";
String reSeparator = "^=+ ?[0-9]+ ?=+$";
String reResponse = "^HTTP/[0-9]\\.[0-9] [0-9]+ .*$";

// Ignore first line, since it should be a separator
Expand Down

0 comments on commit d893283

Please sign in to comment.