Skip Menu |

This queue is for tickets about the LinkEmbedder CPAN distribution.

Report information
The Basics
Id: 120901
Status: new
Priority: 0/
Queue: LinkEmbedder

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.03
  • 0.04
  • 0.05
Fixed in: (no value)



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://&lt;script&gt;evil(&quot;code&quot;)&lt;/script%3E" title="">http://&lt;script&gt;evil(&quot;code&quot;)&lt;/script&gt;</a> # ' # expected: '<a class="le-link" href="http://%3Cscript%3Eevil(%22code%22)%3C/script%3E" title="">http://&lt;script&gt;evil(&quot;code&quot;)&lt;/script&gt;</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 ****************************************************************