Make WordPress Core

Changeset 20372

Timestamp:
04/05/2012 03:17:34 PM (12 years ago)
Author:
westi
Message:

HTTP: Don't force cookie values to be urlencoded because it breaks usage of cookies in some scenarios like the LiveJournal Importer. Instead add a filter for a plugin to use if it really wants to have the cookie mangled. Fixes #19922 props pw201, dllh and kurtpayne.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r20370 r20372  
    15411541            return '';
    15421542
    1543         return $this->name . '=' . urlencode( $this->value );
     1543        return $this->name . '=' . e );
    15441544    }
    15451545
Note: See TracChangeset for help on using the changeset viewer.