Skip to content

Commit 343a0cb

Browse files
committed
stackoverflow
1 parent 920346c commit 343a0cb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

core-tests/e2e-tests/spring/spring-rest-openapi-v3/src/test/kotlin/org/evomaster/e2etests/spring/openapi/v3/security/xss/reflected/json/XSSReflectedJSONEMTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class XSSReflectedJSONEMTest : SpringTestBase() {
2222
}
2323

2424
@Test
25-
fun testXSSReflectedEM() {
25+
fun testXSSReflectedJSONEM() {
2626
runTestHandlingFlakyAndCompilation(
2727
"XSSReflectedJSONEMTest",
2828
50,

core-tests/e2e-tests/spring/spring-rest-openapi-v3/src/test/kotlin/org/evomaster/e2etests/spring/openapi/v3/security/xss/stored/json/XSSStoredJSONEMTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class XSSStoredJSONEMTest : SpringTestBase() {
2222
}
2323

2424
@Test
25-
fun testXSSStoredEM() {
25+
fun testXSSStoredJSONEM() {
2626
runTestHandlingFlakyAndCompilation(
2727
"XSSStoredJSONEMTest",
2828
50,

core/src/main/kotlin/org/evomaster/core/problem/rest/oracle/RestSecurityOracle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ object RestSecurityOracle {
236236
// at org.evomaster.core.search.gene.root.SimpleGene.<init>(SimpleGene.kt:13)
237237
// at org.evomaster.core.search.gene.collection.EnumGene.<init>(EnumGene.kt:25)
238238
// at org.evomaster.core.search.gene.collection.EnumGene.copyContent(EnumGene.kt:111)
239-
// "<script>alert('XSS')</script>",
240-
// "<iframe src='javascript:alert(\"XSS\")'></iframe>"
239+
"<script>alert('XSS')</script>",
240+
"<iframe src='javascript:alert(\"XSS\")'></iframe>"
241241
)
242242

243243

0 commit comments

Comments
 (0)