修复 XSS漏洞
This commit is contained in:
parent
2fc282fbd8
commit
173adfa3f3
|
@ -241,6 +241,9 @@ if($count) {
|
|||
if($_G['uid']) {
|
||||
$_GET['view'] = !$_GET['view'] ? 'we' : $_GET['view'];
|
||||
$navtitle = lang('core', 'title_'.$_GET['view'].'_trade');
|
||||
if($navtitle == 'title_'.$_GET['view'].'_trade') {
|
||||
$navtitle = lang('core', 'title_trade');
|
||||
}
|
||||
} else {
|
||||
$navtitle = lang('core', 'title_trade');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue