Subject: | t/link.t fails (with older Mojolicious?) |
Some of my smokers show the following failure:
...
# Failed test 'evil html'
# at t/link.t line 22.
# got: '<a class="le-link" href="http://<script>evil("code")</script%3E" title="">http://<script>evil("code")</script></a>
# '
# expected: '<a class="le-link" href="http://%3Cscript%3Eevil(%22code%22)%3C/script%3E" title="">http://<script>evil("code")</script></a>
# '
# Looks like you failed 1 test of 8.
t/link.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
...
Statistical analysis suggests that this happens with Mojolicious 7.26 and older:
****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.0000 0.0000 8.46
[1='eq_7.26'] -0.0000 0.0000 -4.58
[2='eq_7.27'] 1.0000 0.0000 17211280596669830.00
[3='eq_7.28'] 1.0000 0.0000 17211280596669828.00
[4='eq_7.29'] 1.0000 0.0000 19297697797702892.00
R^2= 1.000, N= 50, K= 5
****************************************************************