[html-formfu] Buglet: Attributes of options in _Group-type elements
are not escaped
Jeff Dairiki
dairiki at dairiki.org
Fri Apr 23 04:31:54 GMT 2010
Hello,
I just filed a ticket for this at
http://code.google.com/p/html-formfu/issues/detail?id=60
but it looks like the mailing list is more active than the issue
tracker, so I'm reposting here.
It seems that attributes attached to the options of Selects,
Radiogroups and Checkboxgroups are not being properly
xml-escaped.
The attached test script demonstrations the bug. (For me, with FF 0.06001,
tests 1, 3 & 5 fail.)
The attached patch may or may not be the solution. It seems to work, but I
haven't tested it thoroughly; and even if it works, it may or may not be
the best solution.
Cheers,
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: option-attribute-bug.t
Type: text/x-perl
Size: 862 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20100422/35128e31/option-attribute-bug.pm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: option-attribute-bug.patch
Type: text/x-diff
Size: 626 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20100422/35128e31/option-attribute-bug.bin
More information about the HTML-FormFu
mailing list