[FIXED] - BUG in JElement_Text [6004] with fix - Joomla! Forum - community, help and support
if there double-quotes in element value, html output broken. true of other child classes of jelement, haven't checked. simple fix use htmlspecialchars.
change:
to:
ifan
change:
code: select all
return '<input type="text" name="'.$control_name.'['.$name.']" id="'.$control_name.$name.'" value="'.$value.'" '.$class.' '.$size.' />';
to:
code: select all
return '<input type="text" name="'.$control_name.'['.$name.']" id="'.$control_name.$name.'" value="'.htmlspecialchars($value).'" '.$class.' '.$size.' />';
ifan
fixed on svn, !
Comments
Post a Comment