WordPress.org

Make WordPress Core

Changeset 3682


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.