Make WordPress Core

Changeset 4715


Ignore:
Timestamp:
01/10/2007 01:50:30 PM (17 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

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