Skip to content

Commit 45eec04

Browse files
committed
Fixed SQL injection vulnerability in RSS module
1 parent c33eb83 commit 45eec04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/rss/rss.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
{
200200
require_once cot_incfile('page', 'module');
201201

202-
if (!empty($c))
202+
if (!empty($c) && isset($structure['page'][$c]))
203203
{
204204
$mtch = $structure['page'][$c]['path'].".";
205205
$mtchlen = mb_strlen($mtch);

0 commit comments

Comments
 (0)