ڵλǣվȺϵͳ > ѧϰ¼ > -> ֯dedecms̨ʾⲻΪաν

天天好采彩282cc

ʱ䣺2019-03-30 16:20

ûDEDE58֯ģ壬ʱ֯dedecms̨ʾⲻΪա


ĸԭphp5.4汾֮֯εĬгͻ¡


һַǣPHP汾ΪPHP5.35.2ȡԼõڶַ


ڶַ


֢״V5.7¼̨󣬷Ӣıû⣬ĻʾⲻΪա

Դhtmlspecialcharsphp5.4ĬΪutf8룬gbkַ htmlspecialchars תַΪգҲDZΪա

htmlspecialcharsENT_COMPAT ,'GB2312'޸ıĬֵ

޸ҳ棺

1dede/article_add.php  dede/article_edit.php

$title = htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));
ij
$title = htmlspecialchars(cn_substrR($title,$cfg_title_maxlen),ENT_COMPAT ,'GB2312');

2include/ckeditor/ckeditor_php5.php 138
htmlspecialchars($value)滻Ϊhtmlspecialchars($value, ENT_COMPAT ,'GB2312')

ԣ³ɹ