mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Fix XSS in tibiacom template - subtopic
This commit is contained in:
parent
89c2e84bff
commit
08339fe8b6
@ -28,7 +28,7 @@ if(isset($config['boxes']))
|
|||||||
<?php
|
<?php
|
||||||
if(PAGE !== 'news') {
|
if(PAGE !== 'news') {
|
||||||
if(isset($_REQUEST['subtopic'])) {
|
if(isset($_REQUEST['subtopic'])) {
|
||||||
$tmp = $_REQUEST['subtopic'];
|
$tmp = escapeHtml($_REQUEST['subtopic']);
|
||||||
if($tmp === 'accountmanagement') {
|
if($tmp === 'accountmanagement') {
|
||||||
$tmp = 'accountmanage';
|
$tmp = 'accountmanage';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user