working version with fixed link and GET for tracing purposes (#677)

* working version with fixed link and GET for tracing purposes

* added integration test

* filter on request log
This commit is contained in:
René Zubcevic
2019-10-09 09:58:35 +02:00
committed by GitHub
parent aee4b74202
commit 18d43f16d3
11 changed files with 107 additions and 16 deletions

View File

@ -39,7 +39,7 @@ public class XSSTest extends IntegrationTest {
String result =
RestAssured.given()
.when()
.config(restConfig)
.relaxedHTTPSValidation()
.cookie("JSESSIONID", getWebGoatCookie())
.header("webgoat-requested-by", "dom-xss-vuln")
.header("X-Requested-With", "XMLHttpRequest")