-
Bug
-
Resolution: Won't Fix
-
Major
-
Jenkins 1.433, OpenJDK 1.6.0_20-b20
Running jslint on JavaScript like this:
var newTabDiv = '<div id="'+id+'"></div>';
Produces HTML in the violations file display like this:
<td class="pane" width="99%">Missing space between '<div id="' and '+'.</td></tr><tr><td class="pane">
Which hoses the remainder of the page display, and is also probably a security issue. Actually the HTML from any of the violations pages fails the W3C validator spectacularly. But specifically, here the angle brackets and quotes in my code aren't being escaped (converted to HTML entities), which prevents the rest of the page from being displayed, and probably also lets anybody insert malicious code into your browser.
The violations plugin is deprecated. It has an unresolved security vulnerability. The last commit to the source code repository was over 7 years ago. Closing the issue as "Won't fix"