mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- prevent XSS attac
This commit is contained in:
parent
f4489d6a73
commit
a9d8f415ae
|
@ -21,6 +21,7 @@
|
|||
include("../inc/inc.Settings.php");
|
||||
include("../inc/inc.Language.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
include("../inc/inc.Utils.php");
|
||||
|
||||
UI::htmlStartPage(getMLText("sign_in"), "login");
|
||||
UI::globalBanner();
|
||||
|
@ -63,7 +64,7 @@ else if (isset($_POST["referuri"]) && strlen($_POST["referuri"])>0) {
|
|||
$refer=$_POST["referuri"];
|
||||
}
|
||||
if (isset($refer) && strlen($refer)>0) {
|
||||
echo "<input type='hidden' name='referuri' value='".$refer."'/>";
|
||||
echo "<input type='hidden' name='referuri' value='".sanitizeString($refer)."'/>";
|
||||
}
|
||||
?>
|
||||
<table border="0">
|
||||
|
|
Loading…
Reference in New Issue
Block a user