Changeset 3682

Show
Ignore:
Timestamp:
04/03/06 05:59:03 (2 years ago)
Author:
ryan
Message:

Do a therapuetic double strip on HTTP_IF_MODIFIED_SINCE since we code in an imperfect world. fixes #2597

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/classes.php

    r3679 r3682  
    246246 
    247247            // Support for Conditional GET 
    248             if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) $client_etag = stripslashes($_SERVER['HTTP_IF_NONE_MATCH']); 
     248            if (isset($_SERVER['HTTP_IF_NONE_MATCH']))  
     249                $client_etag = stripslashes(stripslashes($_SERVER['HTTP_IF_NONE_MATCH'])); 
    249250            else $client_etag = false; 
    250251