Changeset 1653 for trunk/gregarius/feed.php
- Timestamp:
- 01/02/07 22:57:46 (23 months ago)
- Files:
-
- 1 modified
-
trunk/gregarius/feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/feed.php
r1649 r1653 60 60 && !is_numeric($_REQUEST['channel']) 61 61 ) { 62 $sqlid = sanitize($_REQUEST['channel'], RSS_SANITIZER_SIMPLE_SQL | RSS_SANITIZER_NO_SPACES); 62 $sqlid = preg_replace('#'.RSS_URI_SEPARATOR.'#','_', 63 sanitize($_REQUEST['channel'] , RSS_SANITIZER_SIMPLE_SQL ) 64 ); 63 65 64 66 $sql = "select id from " . getTable("channels") ." where title like '$sqlid'"; … … 70 72 // $sql .= " and not(mode & " . RSS_MODE_DELETED_STATE . ") "; 71 73 74 // die($sql); 72 75 $res = rss_query( $sql ); 73 76 //echo $sql;
