diff --git a/core/src/test/scala/org/apache/spark/ui/UIUtilsSuite.scala b/core/src/test/scala/org/apache/spark/ui/UIUtilsSuite.scala index e88470079748d..423daacc0f5a5 100644 --- a/core/src/test/scala/org/apache/spark/ui/UIUtilsSuite.scala +++ b/core/src/test/scala/org/apache/spark/ui/UIUtilsSuite.scala @@ -158,9 +158,9 @@ class UIUtilsSuite extends SparkFunSuite { test("SPARK-20393: Prevent links from parameters on page.") { val link = - """stdout'">""" + """stdout'">""" val stripLink = - "stdout"><iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.testfire.net%2Fphishing.html>" + "stdout"><iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.test.net%2Fphishing.html>" assert(stripLink === stripXSS(link)) }