Changeset 454 for devel/search

Show
Ignore:
Timestamp:
07/16/06 23:10:36 (2 years ago)
Author:
sven
Message:

removed some addslashes. replaced some with adodb qstr().
removed some stripslashes. a lot more still want to go, depending on how much we care about showing users even more inappropriate backslashes than currently.
fixed a few more php notices.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/search/rss.php

    r296 r454  
    1818    // no time data on this RSS, at least not without rewriting some function outputs 
    1919     
    20     $if_none_match = preg_replace('/[^0-9a-f]/', '', $_SERVER['HTTP_IF_NONE_MATCH'])
     20    $if_none_match = (isset($_SERVER['HTTP_IF_NONE_MATCH'])) ? preg_replace('/[^0-9a-f]/', '', $_SERVER['HTTP_IF_NONE_MATCH']) : false
    2121     
    2222    $etag = md5($output); 
    2323     
    24     if ($if_none_match == $etag) { 
     24    if ($if_none_match && $if_none_match == $etag) { 
    2525        header("{$_SERVER['SERVER_PROTOCOL']} 304 Not Modified"); 
    2626        exit;