- Security fixes

- Moodle schlägt nun beim Anlegen als Namen zusätzlich Stg und Sem vor
This commit is contained in:
Andreas Österreicher
2009-12-21 15:33:35 +00:00
parent 5dbaf686f0
commit 9d25c10cf5
5 changed files with 274 additions and 263 deletions
+5
View File
@@ -53,6 +53,11 @@ function check_uid($uid)
return false;
}
function check_stsem($stsem)
{
return preg_match('/^[WS][S][0-9]{4}$/', $stsem);
}
function check_lektor($uid)
{
$db = new basis_db();