Skip to content

Commit 58baeca

Browse files
committed
Fix various minor HTML issues in generated UI like illegal character encodings,
missing closing tags, extra erroneous attributes, etc.
1 parent 2844f71 commit 58baeca

File tree

1,991 files changed

+3956
-4346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,991 files changed

+3956
-4346
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
.java-version
3+
target/
4+
testfiles/
5+

src/main/webapp/cmdi-00/BenchmarkTest00006.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
xhr.onreadystatechange = function () {
4141
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
4242
$("#code").html(xhr.responseText);
43-
}else{
44-
$("#code").html("Error " + xhr.status + " ocurred.");
43+
} else {
44+
$("#code").html("Error " + xhr.status + " occurred.");
4545
}
4646
}
4747
xhr.send(formData);

src/main/webapp/cmdi-00/BenchmarkTest00007.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div><label>Any additional note for the reviewer:</label></div>
1515
<div><input type="text" id="answer" name="answer"></input></div>
1616
<br/>
17-
<div><label>An AJAX request will be sent with a header named BenchmarkTest00007 and value:</label> <input type="text" id="BenchmarkTest00007" name="BenchmarkTest00007" value="FOO=echo Injection" class="safe"></input></div>
17+
<div><label>An AJAX request will be sent with a header named BenchmarkTest00007 and value:</label> <input type="text" id="BenchmarkTest00007" name="BenchmarkTest00007" value="FOO&#x3d;echo Injection" class="safe"></input></div>
1818

1919
<div><input type="button" id="login-btn" value="Login" onclick="submitForm()" /></div>
2020
</form>
@@ -40,8 +40,8 @@
4040
xhr.onreadystatechange = function () {
4141
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
4242
$("#code").html(xhr.responseText);
43-
}else{
44-
$("#code").html("Error " + xhr.status + " ocurred.");
43+
} else {
44+
$("#code").html("Error " + xhr.status + " occurred.");
4545
}
4646
}
4747
xhr.send(formData);

src/main/webapp/cmdi-00/BenchmarkTest00015.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
xhr.onreadystatechange = function () {
4141
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
4242
$("#code").html(xhr.responseText);
43-
}else{
44-
$("#code").html("Error " + xhr.status + " ocurred.");
43+
} else {
44+
$("#code").html("Error " + xhr.status + " occurred.");
4545
}
4646
}
4747
xhr.send(formData);

src/main/webapp/cmdi-00/BenchmarkTest00017.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
xhr.onreadystatechange = function () {
4141
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
4242
$("#code").html(xhr.responseText);
43-
}else{
44-
$("#code").html("Error " + xhr.status + " ocurred.");
43+
} else {
44+
$("#code").html("Error " + xhr.status + " occurred.");
4545
}
4646
}
4747
xhr.send(formData);

src/main/webapp/cmdi-00/BenchmarkTest00077.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<body>
1010
<form action="/benchmark/cmdi-00/BenchmarkTest00077" method="POST" id="FormBenchmarkTest00077" >
1111
<div><p>Here is the image you are looking for: &nbsp;</p></div>
12-
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" onload=""></div>
12+
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" ></div>
1313
<div><p>The server automatically generated the cookie "BenchmarkTest00077" for this test case. Press the "Test it!" button to send this cookie back to the server.</p></div>
1414
<div><input type="submit" value="Test it!" /></div>
1515
</form>
1616
<script>
1717
function setCookie(cname, cvalue, exdays) {
1818
Cookies.set(cname, cvalue,{
19-
path: 'BenchmarkTest00077',
19+
path: '/benchmark/cmdi-00/BenchmarkTest00077',
2020
version: 1, secure: true
2121
});
22-
$("#cValue").text(document.cookie);
22+
$("#cvalue").text(document.cookie);
2323
}
2424
</script>
2525
</body>

src/main/webapp/cmdi-00/BenchmarkTest00090.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<body>
1010
<form action="/benchmark/cmdi-00/BenchmarkTest00090" method="POST" id="FormBenchmarkTest00090" >
1111
<div><p>Here is the image you are looking for: &nbsp;</p></div>
12-
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" onload=""></div>
12+
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" ></div>
1313
<div><p>The server automatically generated the cookie "BenchmarkTest00090" for this test case. Press the "Test it!" button to send this cookie back to the server.</p></div>
1414
<div><input type="submit" value="Test it!" /></div>
1515
</form>
1616
<script>
1717
function setCookie(cname, cvalue, exdays) {
1818
Cookies.set(cname, cvalue,{
19-
path: 'BenchmarkTest00090',
19+
path: '/benchmark/cmdi-00/BenchmarkTest00090',
2020
version: 1, secure: true
2121
});
22-
$("#cValue").text(document.cookie);
22+
$("#cvalue").text(document.cookie);
2323
}
2424
</script>
2525
</body>

src/main/webapp/cmdi-00/BenchmarkTest00091.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<body>
1010
<form action="/benchmark/cmdi-00/BenchmarkTest00091" method="POST" id="FormBenchmarkTest00091" >
1111
<div><p>Here is the image you are looking for: &nbsp;</p></div>
12-
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" onload=""></div>
12+
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" ></div>
1313
<div><p>The server automatically generated the cookie "BenchmarkTest00091" for this test case. Press the "Test it!" button to send this cookie back to the server.</p></div>
1414
<div><input type="submit" value="Test it!" /></div>
1515
</form>
1616
<script>
1717
function setCookie(cname, cvalue, exdays) {
1818
Cookies.set(cname, cvalue,{
19-
path: 'BenchmarkTest00091',
19+
path: '/benchmark/cmdi-00/BenchmarkTest00091',
2020
version: 1, secure: true
2121
});
22-
$("#cValue").text(document.cookie);
22+
$("#cvalue").text(document.cookie);
2323
}
2424
</script>
2525
</body>

src/main/webapp/cmdi-00/BenchmarkTest00092.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<body>
1010
<form action="/benchmark/cmdi-00/BenchmarkTest00092" method="POST" id="FormBenchmarkTest00092" >
1111
<div><p>Here is the image you are looking for: &nbsp;</p></div>
12-
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" onload=""></div>
12+
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" ></div>
1313
<div><p>The server automatically generated the cookie "BenchmarkTest00092" for this test case. Press the "Test it!" button to send this cookie back to the server.</p></div>
1414
<div><input type="submit" value="Test it!" /></div>
1515
</form>
1616
<script>
1717
function setCookie(cname, cvalue, exdays) {
1818
Cookies.set(cname, cvalue,{
19-
path: 'BenchmarkTest00092',
19+
path: '/benchmark/cmdi-00/BenchmarkTest00092',
2020
version: 1, secure: true
2121
});
22-
$("#cValue").text(document.cookie);
22+
$("#cvalue").text(document.cookie);
2323
}
2424
</script>
2525
</body>

src/main/webapp/cmdi-00/BenchmarkTest00093.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
<body>
1010
<form action="/benchmark/cmdi-00/BenchmarkTest00093" method="POST" id="FormBenchmarkTest00093" >
1111
<div><p>Here is the image you are looking for: &nbsp;</p></div>
12-
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" onload=""></div>
12+
<div><img src="/benchmark/img/500px-Banner_stand.png" style="width: 20%; height: 20%" class="img-responsive" alt="Responsive image" ></div>
1313
<div><p>The server automatically generated the cookie "BenchmarkTest00093" for this test case. Press the "Test it!" button to send this cookie back to the server.</p></div>
1414
<div><input type="submit" value="Test it!" /></div>
1515
</form>
1616
<script>
1717
function setCookie(cname, cvalue, exdays) {
1818
Cookies.set(cname, cvalue,{
19-
path: 'BenchmarkTest00093',
19+
path: '/benchmark/cmdi-00/BenchmarkTest00093',
2020
version: 1, secure: true
2121
});
22-
$("#cValue").text(document.cookie);
22+
$("#cvalue").text(document.cookie);
2323
}
2424
</script>
2525
</body>

0 commit comments

Comments
 (0)