[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:

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

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support