Skip to content

Commit 025577a

Browse files
committed
Add Security::remove_XSS
1 parent c0bcbc3 commit 025577a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/inc/lib/nusoap/class.wsdl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,21 +855,21 @@ function popout(){ // Hides message
855855
<a href='#' onclick='popout()'><font color='#ffffff'>Close</font></a><br><br>";
856856
foreach($data as $donnie => $marie){ // loop through opdata
857857
if($donnie == 'input' || $donnie == 'output'){ // show input/output data
858-
$b .= "<font color='white'>".ucfirst($donnie).':</font><br>';
858+
$b .= Security::remove_XSS("<font color='white'>".ucfirst($donnie).':</font><br>');
859859
foreach($marie as $captain => $tenille){ // loop through data
860860
if($captain == 'parts'){ // loop thru parts
861861
$b .= "&nbsp;&nbsp;$captain:<br>";
862862
//if(is_array($tenille)){
863863
foreach($tenille as $joanie => $chachi){
864-
$b .= "&nbsp;&nbsp;&nbsp;&nbsp;$joanie: $chachi<br>";
864+
$b .= Security::remove_XSS("&nbsp;&nbsp;&nbsp;&nbsp;$joanie: $chachi<br>");
865865
}
866866
//}
867867
} else {
868868
$b .= "&nbsp;&nbsp;$captain: $tenille<br>";
869869
}
870870
}
871871
} else {
872-
$b .= "<font color='white'>".ucfirst($donnie).":</font> $marie<br>";
872+
$b .= Security::remove_XSS("<font color='white'>".ucfirst($donnie).":</font> $marie<br>");
873873
}
874874
}
875875
$b .= '</div>';

0 commit comments

Comments
 (0)