Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16855, comment 11


Ignore:
Timestamp:
03/18/2011 06:23:04 PM (13 years ago)
Author:
hakre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16855, comment 11

    initial v1  
    2929It is totally inappropriate to prevent redirects and only perform the request w/o automatic handling.
    3030
    31 Instead of setting that value to 0 (which is highly undefined, especially with the hotfix for cUrl in [12745]) you must instead propery interfere with cUrl request context options and set your suggested value manually if you don't want to let WP_Http_Curl follow redirect locations:
     31Instead of setting that value to 0 (which is highly undefined, especially with the hotfix for that argument in [12745]) you must instead propery interfere with cUrl request context options and set your suggested value manually if you don't want to let WP_Http_Curl follow redirect locations:
    3232
    3333  curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, false );