[wp-trac] [WordPress Trac] #37820: wp_remote_get referrer not being sent correctly

WordPress Trac noreply at wordpress.org
Thu Aug 25 11:54:11 UTC 2016


#37820: wp_remote_get referrer not being sent correctly
--------------------------+------------------------------
 Reporter:  schrapel      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by swissspidy):

 > Why would the `CURLOPT_URL` be the same as the `CURLOPT_REFERER`?

 I don't know why it was set that way. It has been like this in Requests
 ever since, see
 https://github.com/rmccue/Requests/commit/78d4f3c117642445cf729a7eaaaa87d8d3897fd6.

 There's an [https://github.com/rmccue/Requests/issues/232 open issue on
 GitHub], so maybe @rmccue can chime in.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37820#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list