https://bugs.koozali.org/show_bug.cgi?id=11028

--- Comment #3 from Jean-Philippe Pialasse <[email protected]> ---
/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm

line 472
-        $ret=$fld_value;
+        use HTML::Entities;
+        $ret=encode_entities( $fld_value);


#at then add:
sub nocoma
{
    my ($fm, $data) = @_;
    if ($data =~ /,/)
    {
        return "NO_COMA_ALLOWED";
    }
    return "OK";
}

in /etc/e-smith/web/functions/cronmanager
-        <field type="text" id="command" value="give_numeric(9)" size="50"
validation="nonblank">

+        <field type="text" id="command" value="give_numeric(9)" size="50"
validation="nonblank,nocoma">

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to