mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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.Settings.php");
|
||||||
include("../inc/inc.Language.php");
|
include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.ClassUI.php");
|
include("../inc/inc.ClassUI.php");
|
||||||
|
include("../inc/inc.Utils.php");
|
||||||
|
|
||||||
UI::htmlStartPage(getMLText("sign_in"), "login");
|
UI::htmlStartPage(getMLText("sign_in"), "login");
|
||||||
UI::globalBanner();
|
UI::globalBanner();
|
||||||
|
@ -63,7 +64,7 @@ else if (isset($_POST["referuri"]) && strlen($_POST["referuri"])>0) {
|
||||||
$refer=$_POST["referuri"];
|
$refer=$_POST["referuri"];
|
||||||
}
|
}
|
||||||
if (isset($refer) && strlen($refer)>0) {
|
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">
|
<table border="0">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user