Skip Menu |
 

This queue is for tickets about the CGI-FormBuilder CPAN distribution.

Report information
The Basics
Id: 33241
Status: resolved
Priority: 0/
Queue: CGI-FormBuilder

People
Owner: Nobody in particular
Requestors: matt.follett [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.0501
Fixed in: (no value)



Subject: on* handling in CGI::FormBuilder::Source::File
Download (untitled) / with headers
text/plain 468b
...::Source::File does not properly handle javascript event handlers like onclick, onchange, etc. This appears to be because the line is not taken verbatim like it is for things that start with 'js'. A simple fix for this would be to change line 134 from: if ($term =~ /^js/ || $term eq 'messages') { to: if ($term =~ /^js/ || $term =~ /^on/ || $term eq 'messages') { This would allow any on* handlers to be stored and passed through properly. thanks, Matt Follett
Fixed in: 1675f42..3fca98f master -> master


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.