Changeset 4715

Show
Ignore:
Timestamp:
01/10/07 13:50:30 (1 year ago)
Author:
markjaquith
Message:

Backport of HTTP_IF_MODIFIED_SINCE double stripslashes() fix. fixes #2597

Files:

Legend:

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

    r4493 r4715  
    16381638 
    16391639            // Support for Conditional GET 
    1640             if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) $client_etag = stripslashes($_SERVER['HTTP_IF_NONE_MATCH']); 
     1640            if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) 
     1641                $client_etag = stripslashes(stripslashes($_SERVER['HTTP_IF_NONE_MATCH'])); 
    16411642            else $client_etag = false; 
    16421643