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

WordPress Trac noreply at wordpress.org
Thu Oct 6 14:18:20 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:  has-patch upstream  |     Focuses:
--------------------------------+------------------------------

Comment (by tristangemus):

 Replying to [comment:11 differentthemes]:
 > Replying to [comment:9 tristangemus]:
 > > Wordpress 4.5.4 did not include the referrer at all by default. The
 referrer should be the root URL of the referring website, site_url should
 be an adequate solution to this. See patch.
 >
 >
 > Thanks! That helps, but only we can't now force all our customers to
 edit they wp files. This really should be fixed ASAP at least as a new
 parameter, if not even by default.

 Considering this was selected as a solution, it could be part of an
 upcoming Wordpress release. Hoping to get some support on this or another
 solution as the referrer being set as the destination URL does not make
 any sense at all.

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


More information about the wp-trac mailing list