Revision 1494
Added by Dietmar over 13 years ago
details.php | ||
---|---|---|
38 | 38 |
} |
39 | 39 |
else |
40 | 40 |
{ |
41 |
$file = preg_replace("/\W/", "", $_POST['file']); // fix secunia 2010-92-1
|
|
41 |
$file = preg_replace('/[^a-z0-9_-]/i', "", $_POST['file']); // fix secunia 2010-92-1
|
|
42 | 42 |
} |
43 | 43 |
|
44 | 44 |
// Check if the module exists |
Also available in: Unified diff
Fixed save wrong template directory in database