Fortify在document.write上显示以下代码的XSS漏洞
for (var i in this.links)
{
if (i == this.links.length - 1)
{
document.write(((i == 0) ? "" : " | ") + this.text[i]);
}
else
{
document.write(((i == 0) ? "" : " | ") + "<a href='" + this.links[i] + "'>" + this.text[i] + "</a>");
}
}