View | Details | Raw Unified | Return to bug 262022 | Differences between
and this patch

Collapse All | Expand All

(-)admin/groupusers.php (-5 / +5 lines)
Lines 53-62 Link Here
53
    }
53
    }
54
    $chkRights = $strRights;
54
    $chkRights = $strRights;
55
}
55
}
56
if (get_magic_quotes_gpc() == 0) {
56
#if (get_magic_quotes_gpc() == 0) {
57
    $chkUser   = addslashes($chkUser);
57
$chkUser   = addslashes($chkUser);
58
    $chkRights = addslashes($chkRights);
58
$chkRights = addslashes($chkRights);
59
}
59
#}
60
//
60
//
61
// Get datasets
61
// Get datasets
62
// ============
62
// ============
Lines 181-184 Link Here
181
?>
181
?>
182
        </table>
182
        </table>
183
    </body>
183
    </body>
184
</html>
184
</html>
(-)admin/helpedit.php (-6 / +6 lines)
Lines 43-54 Link Here
43
//
43
//
44
// Quote special characters
44
// Quote special characters
45
// ==========================
45
// ==========================
46
if (get_magic_quotes_gpc() == 0) {
46
#if (get_magic_quotes_gpc() == 0) {
47
    $chkHidVersion = addslashes($chkHidVersion);
47
$chkHidVersion = addslashes($chkHidVersion);
48
    $chkKey1       = addslashes($chkKey1);
48
$chkKey1       = addslashes($chkKey1);
49
    $chkKey2       = addslashes($chkKey2);
49
$chkKey2       = addslashes($chkKey2);
50
    $chkVersion    = addslashes($chkVersion);
50
$chkVersion    = addslashes($chkVersion);
51
}
51
#}
52
//
52
//
53
// Security function for text fields
53
// Security function for text fields
54
// =================================
54
// =================================
(-)admin/templatedefinitions.php (-3 / +3 lines)
Lines 40-48 Link Here
40
if ($chkDataId == '') {
40
if ($chkDataId == '') {
41
    $chkDataId = 0;
41
    $chkDataId = 0;
42
}
42
}
43
if (get_magic_quotes_gpc() == 0) {
43
#if (get_magic_quotes_gpc() == 0) {
44
    $chkDef   = addslashes($chkDef);
44
$chkDef   = addslashes($chkDef);
45
}
45
#}
46
$arrDefinition = explode('::', $chkDef);
46
$arrDefinition = explode('::', $chkDef);
47
if ($chkType == '') {
47
if ($chkType == '') {
48
    exit;
48
    exit;
(-)admin/timedefinitions.php (-5 / +5 lines)
Lines 38-47 Link Here
38
$chkDef     = filter_input(INPUT_GET, 'def', FILTER_SANITIZE_STRING);
38
$chkDef     = filter_input(INPUT_GET, 'def', FILTER_SANITIZE_STRING);
39
$chkRange   = filter_input(INPUT_GET, 'range', FILTER_SANITIZE_STRING);
39
$chkRange   = filter_input(INPUT_GET, 'range', FILTER_SANITIZE_STRING);
40
$chkId      = filter_input(INPUT_GET, 'id', FILTER_SANITIZE_STRING);
40
$chkId      = filter_input(INPUT_GET, 'id', FILTER_SANITIZE_STRING);
41
if (get_magic_quotes_gpc() == 0) {
41
#if (get_magic_quotes_gpc() == 0) {
42
    $chkDef   = addslashes($chkDef);
42
$chkDef   = addslashes($chkDef);
43
    $chkRange = addslashes($chkRange);
43
$chkRange = addslashes($chkRange);
44
}
44
#}
45
//
45
//
46
// Get data
46
// Get data
47
// ========
47
// ========
Lines 195-198 Link Here
195
?>
195
?>
196
        </table>
196
        </table>
197
    </body>
197
    </body>
198
</html>
198
</html>
(-)admin/variabledefinitions.php (-5 / +5 lines)
Lines 37-46 Link Here
37
$chkDef     = filter_input(INPUT_GET, 'def', FILTER_SANITIZE_STRING);
37
$chkDef     = filter_input(INPUT_GET, 'def', FILTER_SANITIZE_STRING);
38
$chkRange   = filter_input(INPUT_GET, 'range', FILTER_SANITIZE_STRING);
38
$chkRange   = filter_input(INPUT_GET, 'range', FILTER_SANITIZE_STRING);
39
$chkLinkTab = filter_input(INPUT_GET, 'linktab', FILTER_SANITIZE_STRING);
39
$chkLinkTab = filter_input(INPUT_GET, 'linktab', FILTER_SANITIZE_STRING);
40
if (get_magic_quotes_gpc() == 0) {
40
#if (get_magic_quotes_gpc() == 0) {
41
    $chkDef   = addslashes($chkDef);
41
$chkDef   = addslashes($chkDef);
42
    $chkRange = addslashes($chkRange);
42
$chkRange = addslashes($chkRange);
43
}
43
#}
44
//
44
//
45
// Get data
45
// Get data
46
// ========
46
// ========
Lines 172-175 Link Here
172
?>
172
?>
173
    </table>
173
    </table>
174
</body>
174
</body>
175
</html>
175
</html>

Return to bug 262022