mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Diverse SQL-Injection Lücken geschlossen
This commit is contained in:
@@ -91,8 +91,9 @@ else
|
||||
|
||||
$save_vorschlag_error=false;
|
||||
/*<?xml-stylesheet type="text/xsl" href="../mathml.xsl"?>*/
|
||||
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>';
|
||||
?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
|
||||
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
|
||||
@@ -174,7 +175,7 @@ if(isset($_GET['type']) && $_GET['type']=='changesprache')
|
||||
}
|
||||
|
||||
if(!isset($_SESSION['sprache']))
|
||||
$_SESSION['sprache']='German';
|
||||
$_SESSION['sprache']=DEFAULT_LANGUAGE;
|
||||
|
||||
$sprache = $_SESSION['sprache'];
|
||||
|
||||
@@ -592,7 +593,7 @@ if (($anzahl!==0) || ($stg_kz=='-1') && ($stg_kz!==''))
|
||||
echo '<br />';
|
||||
|
||||
// Liste der Fragen
|
||||
$qry = "SELECT distinct nummer FROM testtool.tbl_frage WHERE gebiet_id='".addslashes($gebiet_id)."' ORDER BY nummer";
|
||||
$qry = "SELECT distinct nummer FROM testtool.tbl_frage WHERE gebiet_id=".$db->db_add_param($gebiet_id)." ORDER BY nummer";
|
||||
|
||||
if($result = $db->db_query($qry))
|
||||
{
|
||||
@@ -752,7 +753,7 @@ if($frage_id!='')
|
||||
echo '<b>Vorschlag'.($vorschlag_id!=''?' Edit':'').'</b><br /><br />';
|
||||
echo "<form name='formular_vorschlag' method='POST' enctype='multipart/form-data' action='$PHP_SELF?gebiet_id=$gebiet_id&stg_kz=$stg_kz&nummer=$nummer&frage_id=$frage_id'>";
|
||||
echo "<input type='hidden' name='vorschlag_id' value='$vorschlag->vorschlag_id' />";
|
||||
echo '<table>';
|
||||
echo '<table>';
|
||||
echo "<tr><td>Nummer:</td><td><input type='text' name='nummer' size='3' id='nummer' value='$vorschlag->nummer' />";
|
||||
echo "<input type='button' value='1' onclick='document.getElementById(\"nummer\").value=\"1\";' />";
|
||||
echo "<input type='button' value='2' onclick='document.getElementById(\"nummer\").value=\"2\";' />";
|
||||
|
||||
Reference in New Issue
Block a user