Skip to content

Commit

Permalink
Move resources to gradle compatible location for detector for CVE-202…
Browse files Browse the repository at this point in the history
…3-6018.

PiperOrigin-RevId: 607329499
Change-Id: I788b52bc06e1c006299a0b7be1779a12600b51db
  • Loading branch information
Tsunami Team authored and copybara-github committed Feb 15, 2024
1 parent 9110936 commit b2a9987
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ public void nextBytes(byte[] bytes) {
public static void setUpAll() throws IOException {
vulnerableResponseBody =
Resources.toString(
Resources.getResource("com/google/tsunami/plugins/cve20236018/data/response.json"),
UTF_8);
Resources.getResource(Cve20236018Detector.class, "response.json"), UTF_8);
}

@Before
Expand Down

0 comments on commit b2a9987

Please sign in to comment.